Quote:
Originally posted by markus1982
This is wrong. You still need to enter your password so your encrypted private key can be decrypted ... if you need to enter username AND password though that's a different story.
|
You shouldn't need to enter your password. Your passphrase yes but not your password.
If you want a passwordless login then try this:
1) login as USER on the client (where you want to connect from)
2) ssh-keygen -t dsa
(don't suppy a passphrase now - you can do that later once the first bit works)
3) scp /home/USER/.ssh/id_dsa.pub REMOTEHOST:/home/USER/.ssh/authorized_keys2
(you will need to enter your password this one time)
4) ssh REMOTEHOST