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
Was this helpful?
If you found my posts interesting, or I helped you figure something out, please consider tossing me a tiny gratuity for my time, research, to help offset the web hosting/development costs or to buy me a cup of coffee.
* 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.