Install SSH in Ubuntu

clip_image001

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

clip_image002

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

clip_image003

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

clip_image004

You successfully logged In

clip_image005

Conclusion

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]

Share and Enjoy !

Shares
Get Weekly KBV Tips !

Learn and improve day to day Knowledge & lifestyles.