Login to a remote server from another server with SSH Pubkey Authentication, and avoid the password prompt.
SSH Pubkey Authentication
Create an SSH key for pubkey authentication
#ssh-keygen -t rsa
or
#ssh-keygen -t dsa
Copy the key to the remote server
#scp ~/.ssh/id_dsa.pub username@192.168.168.200:
On the remote server
#cat id_dsa.pub >> ~/.ssh/authorized_keys
unixsamurai.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com. Read our Privacy Policy for more info.