Gerar chaves SSH no (?)Ubuntu

Tutorial retirado do GitHub sobre como gerar e disponibilizar suas chaves SSH no ubuntu.

# Creates a new ssk-key, using the provided email as a label
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

Generating public/private rsa key pair.
# start the ssh-agent in the background
$ eval "$(ssh-agent -s)"
Agend pid 59566

$ ssh-add ~/.ssh/id_rsa

# Install xclip to copy the ssh key
$ sudo apt-get install xclip

# Copy the ssk key content
$ xclip -sel clip < ~/.ssh/id_rsa.pub

# After github configured, attempt to ssh
$ ssh -T git@github.com
Written on January 15, 2016