Preface
These are instructions for how to set up your SSH keys once you are able to access the np04 cluster. If you are unable to do so, please follow the guidance here.
Setting up ssh keys for running drunc
You will need a key to access every node in the np04 cluster. To do this, add the following to your ~/.ssh/config file
bash
Host np0* localhost
User <YOUR_CERN_USERNAME>
PreferredAuthentications publickey
PasswordAuthentication no
ChallengeResponseAuthentication no
GSSAPIAuthentication no
KbdInteractiveAuthentication no
ForwardAgent yes
IdentityFile ~/.ssh/id_ed25519_cern
You will then need to generate the keys. Note - you must not use a password for this key.
which will showbash
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /nfs/home/<YOUR_CERN_USERNAME>/.ssh/id_ed25519_cern
Your public key has been saved in /nfs/home/<YOUR_CERN_USERNAME>/.ssh/id_ed25519_cern.pub
The key fingerprint is:
SHA256:<SOME_RANDOM_CHARS> <YOUR_CERN_USERNAME>@np04-srv-0<XX>
The key's randomart image is:
At this point, you should be able to connect to localhost as