How to install the OpenSSH server on Ubuntu 20.04 LTS

If you want to connect and manage your Server or Desktop remotely using Windows, macOS, Linux, FreeBSD, Android or any other OS then install and enable SSH (Secure Shell). It is a quick, secure and one of the easiest way to get control of the remote machine with or without admin rights.

If you want to use a secure and encrypted network connection in Ubuntu, you can activate SSH (Secure Shell Service). Here in this tutorial, we let you know how to install and work with OpenSSH on Ubuntu 20.04 LTS Focal Fossa.

How to Enable SSH server in Ubuntu 20.04

  1. Open the Ubuntu command terminal (shortcut: Ctrl + Alt + T).
  2. Installs OpenSSH with the command: sudo apt-get install openssh-server
  3. Confirm the installation with your password and then type Y  to confirms the process.
  4. SSH is now activated. You check the status with the command:sudo service ssh status

How to connect remote server using SSH on Ubuntu 20.04

To connect the remote Ubuntu server over OpenSSH, you should either know the IP address or domain/computer-name of that particular server or desktop. For example, I want to connect a server available in other building of my office, thus first either I will ask someone or manually find out the server’s IP address. The command for that ifconfig in Linux and ipconfig for Windows.

Now use the following command structure

ssh username@ipaddress 

I want to connect a remote server with an Ipaddress- and username- h2smedia

Thus, the above command will be like this:

ssh [email protected]

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.