Take the 2-minute tour ×

Possible Duplicate:
How do I set up SSH so I don’t have to type my password?

You don't want to type your password when you ssh into a machine. What can you use to accomplish this? Are there any security concerns with your approach?

share|improve this question

marked as duplicate by jtimberman, Diago Aug 20 '09 at 21:58


Why don't I want to type my password again? –  EBGreen Aug 20 '09 at 21:57
What OSs? –  Lance Roberts Aug 20 '09 at 21:58

1 Answer 1

up vote 1 down vote accepted

You can create a pair of SSH keys, placing a private key on the server and a public key on the client. This will allow the client to connect to the server using it's public key instead of having to enter a password.

SSH public key tutorial

share|improve this answer
thank you so much! –  crst53 Aug 20 '09 at 23:26
is there any security concerns about this? –  crst53 Aug 21 '09 at 0:16
crst53: public/private key exchange is much more secure than using passwords, and much less likely to suffer from brute force attack on the SSH server. The problem is if you don't use a pass-phrase on the key anyone getting physical access to your machine may be able to login through your machine IIUC. –  The Tentacle Aug 21 '09 at 1:09
