Thake a look at this article:
http://www.linuxjournal.com/article/6602 (
11 SSH Tricks), might prove interesting.
What you probably want to do to generate keys is execute
ssh_keygen and, when prompted for the passphrase, simply hit the enter key. Do this separately on each machine.
Copy the
id_rsa.pub on machine "A" to a file in
/.ssh nemed "A" (really, use the actual system name). Do the same thing,
individually, on the other system(s), copying the
id_rsa.pub file to the name of that machine in the
~/.ssh directory.
Now you're ready to -- on machine A -- get the file(s) from the other machine(s). Use
scp to do that; you copy the "B" file (which is the public key for "B") to
~/.ssh, then append that file to
~/.ssh/authorized_keys (you can append a file easily with
cat filename >> authorized_keys). Repeat that for any additional machines.
Then get on machine "B" and do the above, getting the public key file from "A."
Once that's complete, you'll be able to
ssh,
scp,
sftp, etc. between the machines without a password, relying on the public-private keys your generated.
Hope this helps some.