-
Notifications
You must be signed in to change notification settings - Fork 1
GitHub
Sur Herrera Paredes edited this page Dec 14, 2018
·
2 revisions
There are excellent tutorials online. This is will just contains some quick things that might be useful.
From the computer(s) that you are using to to connect to sherlock check that you don't have files id_rsa and id_rsa.pub at .ssh/ by typing:
ls -la ~/.ssh/If the files are there, skip the next step
Type:
ssh-keygen -t rsa -b 4096You will be prompted with several questions. Just hit enter.
Type
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa- Go to your settings in GitHub.
- Go to the SSH and GPG keys section.
- Hit the New SSH Key button.
- Give it some memorable name.
- Copy the full content of the
.ssh/id_rsa.pubfile into the key textbox. IMPORTANT: Make sure you do not copy the contents of the.ssh/id_rsafile. - Hit the Add SSH Key button.