PERFORM STEPS:


In linux server

Go to /etc/ssh directory

Edit the file “sshd_config”

Uncomment the following lines and make sure they are there in file

--------------------------------------------------------

PasswordAuthentication yes

PubKeyAuthentication yes

AuthorizedKeysFile         .ssh/authorized_keys

--------------------------------------------------------------