How to configure ssh known_hosts?
I am using OpenSSH on Red Hat Linux. How do I set up the known_hosts file in the .ssh folder so that I can log on to remote machines without typing in a password?
On your local machine, you need to create a private/public key files.
Log in, they type "ssh-keygen -t rsa", and just press enter when asked for the passphrase (no password). It will put two files in your ~/.ssh/ folder. They are "id_rsa" and "id_rsa.pub". Don’t give out your "id_rsa" file, it is private. The "id_rsa.pub" is the public key and you need to add it to the remote computer’s "authorized_keys" file. Once it is added, you should be able to connect with no password.


http://amath.colorado.edu/computing/unix/sshknownhosts.html
This should help get you started.
References :
This looks to be closer to answering your question:
http://www.astro.caltech.edu/~mbonati/WIRC/manual/DATARED/setting_up_no-password_ssh.html
References :
On your local machine, you need to create a private/public key files.
Log in, they type "ssh-keygen -t rsa", and just press enter when asked for the passphrase (no password). It will put two files in your ~/.ssh/ folder. They are "id_rsa" and "id_rsa.pub". Don’t give out your "id_rsa" file, it is private. The "id_rsa.pub" is the public key and you need to add it to the remote computer’s "authorized_keys" file. Once it is added, you should be able to connect with no password.
References :