Talk:Using SSH Passphrases
An alternative would to be to use authentication keys (see man ssh-keygen). This means that a “secret” key is stored on your computer along with a corresponding public key. On other computers that you ssh to you put public key in ~/.ssh/authorized_keys(2). Now ssh should never require a password. Of course, this solution means that if anyone obtains your secret key all the computers are compromised. But it’s probably simpler to set up.
--Jonathan Hunt May 8th, 2007 at 5:27 pm