1
2
I have set up my computer to do the public/private authentication with a remote server, but somehow it is not working today.
I have done the ssh key-gen -t rsa, then scp'd it to the remote.
I can scp without a password (using the pub/priv key), but whenever I try to SSH, it requests the password.
What can I do to authenticate on the key alone?
Does te server requires pass for the Key or for your username? (Should be indicated : pass for key xxx) – M'vy – 2011-05-14T16:28:23.343
Where/How would I check this? – pureman – 2011-05-14T16:30:26.960
Does the prompt only says : Password: or something like Enter passphrase for key '/home/xxx' – M'vy – 2011-05-14T16:31:46.167
Oh, it asks for "user@remote's password," so the username. – pureman – 2011-05-14T16:34:05.927
What does
ssh -v ...
say? It mostly shows you where the problem is. Also, show usls -la ~/.ssh
. – slhck – 2011-05-14T16:55:33.153... debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: ~/.ssh/identity debug1: Offering public key: ~/.ssh/id_rsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: ~/.ssh/id_dsa debug1: Next authentication method: password [requests password] – pureman – 2011-05-14T17:04:02.817
and the permissions on .ssh are all good to go. – pureman – 2011-05-14T17:06:48.150
For the record, the term and sshd option "RSA Authentication" belong to obsolete SSHv1. In SSHv2, "Public key authentication" or "PubkeyAuthentication" are used. – user1686 – 2011-05-14T17:20:02.517