-
Notifications
You must be signed in to change notification settings - Fork 0
Setting up authenticating Github
MiriamShmuelevitz edited this page Sep 5, 2016
·
1 revision
SSH keys are a way to identify trusted computers without involving passwords. You can generate an SSH key and add the public key to your GitHub account by following the procedures outlined in this section.
-
Generating a new SSH key
ssh-keygen -t rsa -b 4096 -C <"YourEmail@mail.com">
-
Adding your SSH key to the ssh-agent
eval "$(ssh-agent -s)" ssh-add ~/.ssh/id_rsa sudo apt-get install xclip xclip -sel clip < ~/.ssh/id_rsa.pub # Copies the contents of the id_rsa.pub file to your clipboard
Open your Github, In the top right corner of any page, click your profile photo, then click Settings. In the user settings sidebar, click SSH and GPG keys. Click New SSH key or Add SSH key. In the "Title" field, press your title. Paste your key into the "Key" field. Click Add SSH key. If prompted, confirm your GitHub password.
Knowledge is hope