To set up an Ubuntu Linux system as a Secure Shell (SSH) server, you can take the following steps:
- Open a terminal window.
- In the terminal window, issue the command
sudo apt-get install openssh-server
. - Enable and start the ssh server service by
issuing the command
sudo systemctl enable ssh --now
. If you wish to enable the service, but not start it immediately, you can omit the--now
at the end of the command, i.e., you can usesudo systemctl enable ssh
and then later issue the commandsudo systemctl start ssh
to start the service.
[ More Info ]