Changes between Version 23 and Version 24 of Other/Summer/2023/SelfDriving


Ignore:
Timestamp:
Jul 13, 2023, 8:19:55 PM (12 months ago)
Author:
BHC31
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Other/Summer/2023/SelfDriving

    v23 v24  
    9292- Navigate to your .ssh directory and use the command "cat gitlab.pub" to print the contents of the file into the terminal. Copy all of the file, including the "sha-rsa" at the beginning and the username at the end.
    9393- Login to gitlab (the winlab specific gitlab! https://gitlab.orbit-lab.org) and click on your profile picture on the top right.
    94 - Go to SSH keys and add the public key in the text box. You should now be able to access orbit gitlab repositories through ssh.
     94- Go to SSH keys and add the public key in the text box
     95- Now go to ~/.ssh and add a file called "config" by doing "touch config". Edit this file (with nano or vim) to look like this:
     96
     97Host gitlab.orbit-lab.org
     98    PreferredAuthentications publickey
     99    IdentityFile ~/.ssh/gitlab
     100
     101- make sure the file path goes to the private key that you made, if you named it something other than gitlab.
     102- You should now be able to access orbit gitlab repositories through ssh.
    95103- NOTE: If you have previously cloned a repository using HTTPS instead of SSH, then you will need to update the remote URL. Follow this guide: https://docs.github.com/en/get-started/getting-started-with-git/managing-remote-repositories
    96104