1. Run "ssh-keygen -t rsa".
2. Save the generated key in the default location.
3. Leave the passphrase blank.
4. Change to the .ssh directory, and append the contents of id_rsa.pub
to the file "authorized_keys." If no authorized_keys file exists, you
can just run "cp id_rsa.pub authorized_keys".
Now you should be able to ssh to department machines without typing
your password. Note that if you're doing this from a non-department
Linux machine, you should do steps 1, 2, and 3 from the command prompt
of your machine, and step 4 from the command prompt of any department
Linux machine. If you're doing this from a department Linux machine,
do all steps on that machine.
- Elliot
Wednesday, December 8, 2004
ssh without password howto
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment