Add SSH Key to Github
We will now give Github a copy of our SSH public key. Open a terminal window and type the following command
cat ~/.ssh/id_rsa.pub
select the string that appears and copy to the clipboard. Open your web browser and log into your Github account and navigate to your account settings page.
Navigate to for SSH and GPG Keys in the Personal Settings Menu then Click the button for New SSH Key.
Paste your key into the Key field of the form, give your key a memorable name, and click Add SSH Key.
Congratulations.