In this tutorial, you will go through adding the SSH keys stored in your Google Drive to a new device in order to gain access to a server.

If you run into any issues, please ask for help in the PSTAT Research Computing Users Google Group!

Prereqs

Useful Links

Google Docs Version of Tutorial

  1. First, download your SSH keys from your Google Drive to your "Downloads" folder.
  2. Press Start and search for "Windows Powershell". Click on it to open a new shell.
  3. Next, run the following command to create a directory called .ssh:
new-item $HOME\.ssh -ItemType Directory
  1. Move your SSH keys from the "Downloads" folder to the ".ssh" folder using the following commands:
Move-Item -Path $HOME\Downloads\ed25519.pub -Destination $HOME\.ssh\
Move-Item -Path $HOME\Downloads\ed25519 -Destination $HOME\.ssh\
  1. From here follow steps 4-7 found at this link in order to setup SSH agent and add your key to your SSH agent's keyring. You do not need to generate new SSH keys, skip the ssh-keygen steps!
  1. First, download your SSH keys from your Google Drive to your "Downloads" folder.
  2. Find your terminal application and open up a new shell:
  1. Run the following command to make sure that you create a directory called .ssh:
mkdir ~/.ssh
  1. Move your SSH keys from the "Downloads" folder to the ".ssh" folder using the following commands:
mv ~/Download/ed25519.pub ~/.ssh/
mv ~/Download/ed25519 ~/.ssh/
  1. In order for you to add these files to your keyring in the next step, run the following command to update the file permissions of the keys:
chmod 600 ~/.ssh/ed25519
  1. From here follow steps 3-4 found at this link in order to enable SSH agent and add your key to your SSH agent's keyring. You do not need to generate new SSH keys, skip the ssh-keygen steps!