Passwordless Ssh

Posted by Weston Ganger

Add the local hosts public key to the remote hosts .ssh/authorized_keys

So from the local host run the following command:

cat ~/.ssh/id_rsa.pub | ssh userName@serverName 'cat >> .ssh/authorized keys'

Article Topic:Software Development - Linux

Date:April 27, 2014

Recommended Posts