Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
nameConfigure SSH Keys on your Mac
  1. Unzip the files associated with your login.

  2. Open your terminal (finder.pnggo.pngutilities.pngterminal.png or hit terminalkeys.png keys)

  3. Confirm you’re in your home directory by changing directories to your home with the following command: cd ~

  4. List the contents (including hidden items) of your home directory with the following command: ls -lah

  5. If you have a .ssh directory, it will be in this list. If you don’t have one, you will need to create one with: mkdir ~/.ssh

  6. Unzip the newly downloaded SSH keys to your .ssh folder: unzip ~/Downloads/<username>.zip -d ~/.ssh

  7. If your key has been configured properly, when you open a terminal and log into the cluster, you will be logged in automatically, and will not be prompted for a password (first factor), nor second factor authentication for login.

Note: If you run into permissions errors on the key files (usually errors will take the form of something similar to: Permission denied (publickey)) we recommend running the following commands then reattempting to ssh using your key files.

Code Block
chmod 0600 -R ~/.ssh              #sets appropriate permissions for the .ssh private keys 
ssh-add                           #configures ssh agent for certs when not natively supported