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'
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 26, 2014
Want me to help develop your next Ruby-on-Rails project or application?
Contact Me