Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Unable to login with SSH-RSA key

When I try to login (with verbose options), all seems to work fine but at the end, here is what happened :
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/remi/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/remi/.ssh/id_dsa
debug1: Trying private key: /home/remi/.ssh/id_ecdsa
debug1: Trying private key: /home/remi/.ssh/id_ed25519
debug2: we did not send a packet, disable method
debug1: Next authentication method: password


I don't understand because these lines seems to be a non-sense for me :
we sent a publickey packet, wait for reply
we did not send a packet, disable method
by

1 Answer

Bharatgxwzm
I had a similar problem that resolved when is changed StrictModes from yes to no. Open /etc/ssh/sshd_config and add
StrictModes no

Login / Signup to Answer the Question.