General Lab Information

Creating SSH Keypair Under Unix

Back to HPC1 Documentation

  • Generate your private and public SSH keys: type: ssh-keygen -t dsa
    Do this on your local computer if you will be accessing hpc1 from within BNL.

  • Enter file in which to save the key (/home/username/.ssh/id_dsa): type: <enter>   (you want to use the default)

  • Enter passphrase (empty for no passphrase): (enter a passphrase)

  •  All users MUST USE a passphrase

 Enter same passphrase again: re-enter the password

 Your identification has been saved in /home/username/.ssh/id_dsa.

 Your public key has been saved in /home/username/.ssh/id_dsa.pub.

 The key fingerprint is:

ed:85:92:ec:27:51:b9:a7:7b:a7:ba:7c:bf:e7:0a:01 username@somemachine

 

(on your local machine) type: eval `ssh-agent`

 type: ssh-add ~/.ssh/id_dsa

Email your PUBLIC key ONLY to itdhelp@bnl.gov with the subject line: Deploy public key on the hpc1.csc.bnl.gov cluster

 Once you receive email from itdhelp confirming they have deployed your public key on hpc1, try to login:

 type: ssh hpc1.csc.bnl.gov

Back to HPC1 Documentation