Skip to main content

SSH Key Setup

On a Mac, use Terminal  / On a PC, use PowerShell (run as administrator)

or install WSL: https://learn.microsoft.com/en-us/windows/wsl/install

  1. Open a PowerShell window as an administrator and run the following command:
    • ssh-keygen -t ecdsa
  2. Hit enter through all the prompts to keep defaults, then run
    • Do not set a passphrase

    • cat ~/.ssh/id_ecdsa.pub to show your public key.
  3. Then select the entire key and copy it
  4. Go to https://selfservice.grit.ucsb.edu/?action=changesshkey
  5. Enter your GRIT AD username, and password, then paste the copied public key from the previous step into the field, and submit