This can also be if your sshd_config file has the 'AllowUsers' variable set to specific users, if so you have to comment it out OR better just add the user you want to be able to ssh to the machine.
For sure this won't work if you got that message after you have configured a client-server pair . The "ssh" command will let you go from a regular user account (in a client computer ) to another regular user account ( in a server ) . Of course I am talking about sharing the public keys properly. But when you'll try to execute the "scp" command from regular account to regular account ....no way!
Thanks just was I needed !!!!!
ReplyDeletenever can tell who's reading, but I appreciae this input!
I have to second that, this message started appearing after upgrading OpenSSH. I didn't know what to do, but this worked!
ReplyDeleteThis is suposed to be the default but for some reason it isn't working as the default.
ReplyDeletedidnt work here :( Im suppose to edit sudo nano /etc/ssh/sshd_config wright ?
ReplyDeleteman, this worked like a charm... but why?
ReplyDeleteworked like magic.. thanks man.
ReplyDeleteWhile this allowed me to connect, it did so only after I had to enter a password. I'm trying to use key based authentication. Any suggestions?
ReplyDeleteAlmost 2 years after you posted this. I just wanted to let you know that it saved me too. Thanks!
ReplyDeleteDon't forget you'll have to restart your ssh daemon as well!
ReplyDelete> service sshd restart
for RedHat, Fedora Core
Thanks a lot guys for the comments and additional steps :-)
ReplyDeleteExactly what i needed!! Works perfect
ReplyDeleteDidn't help me at all
ReplyDeleteDude you seriously rock the house...thank you so much
ReplyDeleteThis can also be if your sshd_config file has the 'AllowUsers' variable set to specific users, if so you have to comment it out OR better just add the user you want to be able to ssh to the machine.
ReplyDeleteYou saved me hours or useless attempts.
ReplyDeleteThanks for the easy fix.
No, leave ChallengeResponseAuthentication to no.
ReplyDelete"ChallengeResponseAuthentication no" will enhance your server security, by only allowing people with right public key to get into your server.
For sure this won't work if you got that message after you have configured a client-server pair .
ReplyDeleteThe "ssh" command will let you go from a regular user account (in a client computer ) to another regular user account ( in a server ) . Of course I am talking about sharing the public keys properly.
But when you'll try to execute the "scp" command from regular account to regular account ....no way!
Perfect! I've been banging my head against this wall for the last hour.
ReplyDeleteMan, you should be richer than Bill Gates! Thanks.
ReplyDeletethank's
ReplyDeleteYou are the MAN
ReplyDeleteIt lets You connect with password but not with RSA key :/
ReplyDeleteThank you sir, don't know what happened, but now all is well.
ReplyDeleteWow, worked perfectly.
ReplyDeleteThanks