just make it work.. security aside
00:53:52 ssh firstname.lastname@example.orgPermission denied (publickey).
Thanks just was I needed !!!!!never 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!
Saved my ass too!
This is suposed to be the default but for some reason it isn't working as the default.
didnt work here :( Im suppose to edit sudo nano /etc/ssh/sshd_config wright ?
man, this worked like a charm... but why?
worked like magic.. thanks man.
While 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?
Almost 2 years after you posted this. I just wanted to let you know that it saved me too. Thanks!
Don't forget you'll have to restart your ssh daemon as well!> service sshd restart for RedHat, Fedora Core
Thanks a lot guys for the comments and additional steps :-)
Exactly what i needed!! Works perfect
Didn't help me at all
Thank you very much for this piece of advice, save my ass too :)
Dude you seriously rock the house...thank you so much
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.
You saved me hours or useless attempts. Thanks for the easy fix.
No, leave ChallengeResponseAuthentication to no."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 .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!
Perfect! I've been banging my head against this wall for the last hour.
Man, you should be richer than Bill Gates! Thanks.
You are the MAN
It lets You connect with password but not with RSA key :/
Thank you sir, don't know what happened, but now all is well.
Wow, worked perfectly.Thanks