Monday, March 20, 2006

Password-less ssh connection

Follow these steps:
1) ~ mkdir .ssh
2) cd .ssh
3) ssh-keygen -t dsa % no passphrase, just press twice
4) cat id_dsa.pub >> authorized_keys2
5) Repeat step #4 for all the public keys of the desired nodes.
6) chmod 600 ./authorized_keys2
* Enjoy

No comments: