SSH Error: server responded no further authentication methods available

On SSH Secure Shell I was getting “Error

server responded no further authentication methods available

no more authentication methods available

On Putty it was showing as image

 



Solution:

1. Edit the /etc/ssh/sshd_config file.
2. Change PasswordAuthentication and ChallengeResponseAuthentication to yes.
3a. Restart ssh /etc/init.d/ssh restart.
OR
3b. better you use service sshd restart