Automated SSH authentication
The example shows how on machine A you will be able to automate
your authentications to as user (s-umd in this case) on machine B
(chondrite.as.utexas.edu in this example). The manual pages for
ssh and ssh-keygen may also be useful.
A% ssh-keygen -t rsa
this will create a file ~/.ssh/id_rsa.pub (amongst) that
you need to copy to the remote machine:
A% scp ~/.ssh/id_rsa.pub s-umd@chondrite.as.utexas.edu:/tmp
you'll need to enter the password here
A% ssh s-umd@chondrite.as.utexas.edu
you'll again need to enter the password here
make sure you have a .ssh directory on B, and perhaps
also the ~/.ssh/authorized_keys file. Then
B% cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys
B% exit
A% ssh s-umd@chondrite.as.utexas.edu
this should now logon without the need to enter a password
B% exit
and done we are