When setting up a new development server, we usually add our public ssh key to ~/.ssh/authorized_keys file.
Github has a pretty nice feature, change your nick from the below url and send it contents to authorized_keys with curl command:
curl https://github.com/waldirbertazzijr.keys > ~/.ssh/authorized_keys
Simple as that!
Permissions
Both servers’ .ssh folder should be 700 chmod for this to work.
Don’t forget this one.
Leave a Reply