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--nowat the end of the command, i.e., you can usesudo systemctl enable sshand then later issue the commandsudo systemctl start sshto start the service.
[ More Info ]
