In this assignment you will create a SSH key pair that will enable access to the git-repository for future assignments. Create the key pair on the same computer that you will use for the rest of the assignments. We strongly recommend Linux as the operating system of choice for this course.
In order to create an SSH key file, please flow this guide. You may skip step 4 and 5 since we are not using Github per se.
The public part of your key should look something like this:
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAzLV/OejJkaRQPbPQd4hGBDm/Q2Y7As16H0Rl Ak08KeUHHNTDD8xPPKh6Auj0LDtVecxfJ8/4tQF/wnmBQSE/lbFVVWMjKlP/WYVI mXQWLmIXQvvf3ZpyPr0hfpgyXeCJDS8Plb83lCANwmiiIpT6MOjWvUQY2iRuplMU 4n1U1N0= mobilars
After generating your ssh key by using the command "ssh-keygen -t rsa -b 4096", you will get a file called id_rsa.pub in a .ssh directory in your home directory. Copy this file to the filename <username>.rsa, where username is your UiO username. Keep the original file in the ssh directory.
How to copy ssh public key to home directory(On Mac and Linux):
$ cp ~/.ssh/id_rsa.pub ~/<username>.rsa
Remember to replace <username> with your username!
Finally, submit the <username>.rsa file as the first assignment in Devilry. You will receive information when access is granted to the git-repository. This requires some manual steps to be preformed by the system administrators and will take a day or two after the deadline.
Minor update of the assignment text: You may skip section 4 and 5 (not 3 and 4) in the guide. You should add the key to your?ssh-agent. You need to do this in order for GIT to work in the next assignment.
Log in to comment
Not UiO or Feide account?
Create a WebID account to comment