Importando Chaves SSH Públicas do Github

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.


Posted

in

,

Written by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *