Install SSH Ubuntu


Sometimes the Open SSH Server does not come enabled or installed by default on a clean installation. This short guide will show you how to get it one your machine.

Retrieve Openssh-server

Let's download the program.

sudo apt-get install openssh-server

Check Status

Verify that it installed properly.

sudo service ssh status

SSHD Config

If you want to modify any of the ports or settings in SSH, simply open the file and change what is needed.

sudo vim /etc/ssh/sshd_config

After changing the settings, restart the server.

sudo service ssh restart