Set up SSH Linux - UzanR/UzCodingNewLife GitHub Wiki

Generating a new SSH key

ssh-keygen -t rsa -b 4096 -C "[email protected]"

Adding your SSH key to the ssh-agent

eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa

Adding SSH to github account

sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_rsa.pub

Github -> Settings -> SSH and GPG keys -> New SSH key or add SSH key