...
Excerpt |
---|
name | Configure SSH Keys on your Mac |
---|
|
Unzip the files associated with your login. Open your terminal ( → → → or hit keys) Confirm you’re in your home directory by changing directories to your home with the following command: cd ~ List the contents (including hidden items) of your home directory with the following command: ls -lah 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 Unzip the newly downloaded SSH keys to your .ssh folder: unzip ~/Downloads/<username>.zip -d ~/.ssh 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 |