Skip to main content

SSH Key Setup

On a Mac, use Terminal  / On a PC, use PowerShell  

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

  1. Open a PowerShell window, or Terminal window (Mac)Mac / Linux) 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. 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
    1. Please note that the self service SSH key utility can only manage a single SSH key. If you need to setup multiple SSH keys please submit a ticket and include all public keys you would like to have access your account. Please do not send the private key.