Generate and Setup SSH Keys With Lawrence

Summary

The steps for users to generate SSH Keys and set up their use on the Lawrence HPC system

Body

Issue/Question

How do I make and setup SSH Keys for Lawrence?

Environment

  • MobaXTerm
  • Shell
  • Bash
  • Zsh

Cause

Want to securely connect to HPC resources

Resolution

  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 first.last@lawrence.usd.edu and press enter
    Note:
    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 first.last@lawrence.usd.edu to test your SSH Key

Details

Details

Article ID: 6615
Created
Fri 8/20/21 6:43 PM
Modified
Mon 9/25/23 12:19 PM
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
Validated

Related Articles

Related Articles (2)

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