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
#ssh-keygen -t dsa
Copy the key to the remote server
#scp ~/.ssh/id_dsa.pub firstname.lastname@example.org:
On the remote server
#cat id_dsa.pub >> ~/.ssh/authorized_keys
* This post may contain affiliate links. This means that I “might” receive a tiny amount of money, if you make a purchase using one of our links. It does not cost you anything extra, and helps us defray the costs of hosting and maintaining this site.