SSH without password onto different machines

You want to ssh without password from host A to B:on host A, run the following. Give the default answer for every question (just hit enter 3 times):ssh-keygen -t dsathen, still on host A, transfer to host B:cat ~/.ssh/id_dsa.pub | ssh B 'cat >> ~/.ssh/authorized_keys'You'll have to enter your password a final time. Afterwards, you should be able to do ssh Bwithout any password.

Actually, it's apparently better to use a passphrase and then cahce the login credentials using ssh-agent. See the following docs: http://www.lackof.org/taggart/hacking/ssh/If you do above password-less login only on a subnet with local users you should still be fairly safe.