In order to securely transfer ﬁles, you’ll need to generate an SSH public/private key pair. This allows us to ensure that the data we are receiving is actually from your university. Follow the steps to below to generate your public and private keys.
Note: Do NOT share your private key with anyone! If you believe your private key has been compromised, please regenerate your public and private keys immediately and send us your updated public key.
We highly recommend using the PuTTY SSH suite of software for its ease of installation and use. You can download either the entire suite, or just the programs needed (PSCP, PuTTY gen, and PuTTY) for free from the following URL:
- Open the “PuTTYgen” program
- Ensure that the option for “ed25519" is selected
- Click the “Generate” button to begin generating your keys. Move your mouse cursor around randomly in the blank area below the progress bar to generate the key; once ﬁnished, you’ll see a progress bar while the key is being generated
- Save the private key using “Save private key”.
- Select "Yes" when prompted "Are you sure you want to save this key without a password to protect it?"
- Email the text in the top box to firstname.lastname@example.org
- Login as the user that will be sending the ﬁles (Note: throughout the rest of this guide, we’ll assume the user is named pharos)
- Run the following command: ssh-keygen -t ed25519
- When prompted, hit enter to save the ﬁle as /home/pharos/.ssh/id_ed25519 (Note: this will overwrite any existing ﬁles!)
- When prompted, hit enter to leave the password blank
- When prompted, hit enter again to conﬁrm the blank password