Secure Shell (SSH) is a cryptographic network protocol used for a secure connection between a client and a server.

Ubuntu Desktop and minimal Ubuntu server do not come with sshd installed. However, you can easily install SSH server in Ubuntu using the following steps.

Appy Pie

Install a ssh server in Ubuntu Linux is as follows:

Open the terminal application for Ubuntu desktop.

For remote Ubuntu server you must use BMC or KVM or IPMI tool to get console access

Type sudo apt-get install ssh

# sudo apt install ssh


Ubuntu comes with a firewall configuration tool called UFW. If the firewall is enabled on your system, make sure to open the SSH port:

sudo ufw allow ssh

Start the service.

# service ssh start


Now open putty and enter the server IP address then open the connection.


You successfully logged In



You have learned how to install and enable SSH on your Ubuntu 18.04. You can now login to your machine and perform common sysadmin tasks through the command prompt.

Click to rate this post!
[Total: 0 Average: 0]