...
To generate a key, on your local command line enter the following
Code Block ssh-keygen -t rsa -b 4096
ssh-keygen will then prompt you to protect your private key with a passphrase. You may create one or leave it blank.
Code Block |
---|
Generating public/private rsa key pair.
Enter file in which to save the key (/home/mobaxterm/.ssh/id_rsa):
Created directory '/home/mobaxterm/.ssh'.
Enter passphrase (empty for no passphrase):
.
.
. |
Add the public key to the cluster (adjust path to id_rsa.pub if needed and enter your netid)
Code Block ssh-copy-id -i ~/.ssh/id_rsa.pub yournetidhere@hpc2.storrs.hpc.uconn.edu
Warning |
---|
If the
|
...