Generate and Setup SSH Keys With Lawrence


How do I make and setup SSH Keys for Lawrence?


  • MobaXTerm
  • Shell
  • Bash
  • Zsh


Want to securely connect to HPC resources


  1.  Open a terminal on your local machine
    Note: This can be MobaXTerm (Windows), or Bash/Zsh (Linux or Mac)
  2. Type ssh-keygen and press enter
    Note: This generates a keypair on your local machine
  3. Press enter to accept the default path
  4. Press enter to skip the passphrase
  5. Press enter again to confirm
  6. Type ssh-copy-id and press enter
    Use your own name instead of first.last
    Note: This sets up the newly generated key for use on lawrence
  7. Type your password and press enter
  8. Complete the Duo second factor authentication
  9. Type ssh to test your SSH Key
Print Article


Article ID: 6615
Fri 8/20/21 5:43 PM
Mon 9/25/23 11:19 AM
KCS Article Status
WIP: Only Problem & some Environment captured
Not Validated: Complete & Resolution captured, confidence lacks in structure, content, no feedback
Validated: Complete & reusable, used by licensed KCS user, confidence in resolution & std. compliance

Related Articles (2)

Instructions for logging into Lawrence, the supercomputer, and a link to a tutorial
Instructions for logging into Lawrence HPC on Windows