How to install SSH server in Ubuntu
Ubuntu
does not come with SSH
server installed by default but could be installed and enabled easily with the following steps from the comand line;
-
Update package list from the repository.
sudo apt -y update
-
Install
openssh-server
package.sudo apt install -y openssh-server
-
Check if
sshd
server is running.sudo systemctl status ssh
-
Optionally, disable
sshd
from running by default during system bootup.sudo systemctl disable ssh
-
sshd
could be re-enabled at later times.sudo systemctl enable ssh