Assignment 1

Deadline Date August 28, 23:59

You must pass this assignment to pass the course. Meet up to your lab sessions to ask your group teacher if you have any questions.

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.

Published Aug. 20, 2015 11:30 AM - Last modified Aug. 17, 2020 7:35 PM

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.

korvald@uio.no - Aug. 25, 2015 11:11 AM
Add comment

Log in to comment

Not UiO or Feide account?
Create a WebID account to comment