Import Public SSH Keys from GithubTempo de Leitura: 1 min

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 ever forget this one.

Leave a Reply

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