<p>Add the local hosts public key to the remote hosts .ssh/authorized_keys</p>
<p>So from the local host run the following command:</p>
cat ~/.ssh/id_rsa.pub | ssh userName@serverName 'cat >> .ssh/authorized keys'
<p>Add the local hosts public key to the remote hosts .ssh/authorized_keys</p>
<p>So from the local host run the following command:</p>
cat ~/.ssh/id_rsa.pub | ssh userName@serverName 'cat >> .ssh/authorized keys'
Article Topic:Software Development - Linux
Date:April 26, 2014
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me