From Engineering Grid Wiki
SSH Keys on the Cloud
We're going to do this without a passphrase, since SGE can't pass along your password for MPI jobs.
ssh-keygen -t dsa
Hit enter to all the prompts; use a blank passphrase, then:
cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
Now your user is able to SSH amongst the Cloud using a SSH Key rather than a password.