Ticker

6/recent/ticker-posts

Advertisement

Install OpenSSH server on Ubuntu

 How to Install OpenSSH server on Ubuntu 20.04 LTS

OpenSSH is the open-source version of the Secure Shell (SSH) tools. It is a free and open source ssh server and it use by IT engineer's to connect Linux and other non-Windows for cross-platform management of remote systems. OpenSSH provides a large suite of secure tunneling capabilities, authentication methods, and configuration options.

Install SSH server in Ubuntu


1. Open the terminal on Ubuntu.

2. Update the ubuntu using following command.

$ sudo apt-get update



3. After update completed, now upgrade the ubuntu.

$ sudo apt-get upgrade


4. After upgrade completed now install open ssh using following command.

$ sudo apt-get install openssh-server


5. Verify the ssh service running using following command.

$ sudo systemctl status ssh


6. If ssh service not running on ubuntu using following command for enable and start ssh service.

$ sudo systemctl enable ssh



$ sudo systemctl start ssh



Configure firewall for open ssh port.


1. Check the status of UFW firewall using following command.

$ sudo ufw status




2. Now Allow the ssh port in UFW firewall using following command.

$ sudo ufw allow ssh



3. Restart the service of UFW firewall using following command.

$ sudo ufw reload


Post a Comment

0 Comments