Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to login to my ssh server using RSA keys, but I'm having problems. I've created the keys and copied them onto my server, and put them in the authorized_keys file. However, when I try to ssh into the server, it still asks for my password. I've run ssh -v [ip] on my local machine to get the debug info, and it says

Host [ip] is known and matches the RSA host key.
Found key in Users/Peter/.ssh/known_hosts:11
ssh_rsa_verify: signature correct
SSH2_MSG_NEWKEYS sent
expecting SSH2_MSG_NEWKEYS
SSH2_MSG_NEWKEYS received
Roaming not allowed by server
SSH2_MSG_SERVICE_REQUEST sent
SSH2_MSG_SERVICE_ACCEPT received
Authentications that can continue: password
Next authentication method: password

After this it continues to prompt me for my password. Are the SSH keys even working at all? What have I done wrong?

Thanks,

Peter

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.