4. Generate your SSH keys - AndyGreenPhD/ksu_labs GitHub Wiki

You will need to use SSH keys to connect to any systems you create in AWS. This process will explain how to create SSH keys and save them to your local system. SSH keys should be treated just like passwords and kept securely. If you believe your SSH keys have been compromised, you should delete them and remake a new pair.

Windows

Tutorial video can be viewed here

  1. Open the Command Prompt by typing "cmd" in the Windows search bar and clicking on the "Command Prompt" application.
  2. Type ssh-keygen and press the Enter key.
  3. Press the Enter key when asked for the directory and filename in which to save your keys (the directory and filename should be $HOME/.ssh/id_rsa by default, e.g. C:\Users\agreen57/.ssh/id_rsa)
  4. Press the Enter key when asked to enter a passphrase.
  5. Press the Enter key a second time when asked to enter the passphrase again.

Mac

  1. Open the Terminal app by typing "Terminal" in the Spotlight search bar and clicking on the "Terminal" application.
  2. Type ssh-keygen and press enter.
  3. Press the Enter key to accept the default value anytime you are asked a question.