Configure ssh server on Ubuntu Linux - Setup OpenSSH Server on Redhat,fedora

In this article,I will explain how to setup OpenSSH Server on Redhat,fedora,Ubuntu Linux.

1. Open Terminal and login as root user.

2.Run below command from a terminal window to install SSH Server

   # sudo apt-get install ssh.

3.Type the following two command to install both ssh client and server:

# sudo apt-get install openssh-server openssh-client

4. Type the following command to Test.

 # ssh localhost

The authenticity of host ‘localhost (’ can’t be established.RSA key fingerprint is 98:8a:b8:b2:9e:8a:84:e0:d4:08:27:fb:74:f0:de:d4.Are you sure you want to continue connecting (yes/no)?

5.Type yes to continue 

6. Ctrl-C to stop.

7. Done.