yet another "passwordless ssh" question
Ok. So I am trying to setup a passwordless ssh by doing (on the server):
1. ssh-keygen -t dsa
2. copying id_rsa.pub to authorized_keys
Of course, it doesn't work. I am working on a big project, and I am the only person for whom this method hasn't worked (well, it worked for a while but somehow I broke it).
I revised several troubleshooting posts (and unsuccessfully tried them all). So, I ran the verbose ssh -vv user@server:
I do get "publickey" here.
If you get a line like this, not containing "publickey":
debug1: Authentications that can continue: password,keyboard-interactive
I don't get this line, but I do not have access to the ssh_config. And as I previously stated, all other users have been able to setup passwordless ssh'ing on the same server.
If you don't get a line like:
debug1: try pubkey: /home/user/.ssh/id_dsa
Then check "ssh_config" on the client and if it exists, remove "PubkeyAuthentication no" if it exists.
Yes, yes. All necessary files exist in both server and client.
If you still don't see that line then make sure that "~/.ssh/id_dsa" exists on the client.
If you get a line like:
debug2: we sent a publickey packet, wait for reply
Check that "~/.ssh/authorized_keys" exists on the server and contains a line the same as "~/.ssh/id_dsa.pub" on the client.
Thanks for your help.