Fix when you run ssh-keygen on
brand new HPC access
2025-06-07
Learn more about HPC Architecture here.
Generally, only the master node is connect to the internet, and the compute nodes are inter-connected with master node via a switch.
SSH into your master node.
Create new keys using ssh-keygen. No passphrase
would be better for ease of access, but worse security.
Find the ip addresses of your (any) compute node from the
/etc/hosts/ file from masternode. We don’t need to copy our
ssh key to other nodes, as that happens itself.
Copy the public keys to compute nodes using
ssh-copy-id $USER@10.10.10.101. Where
10.10.10.101 is the ip of your compute node.
Now you will be prompted to enter password for
$USER, after that you can schedule your jobs using
pbs.
Please email me with any feedback/comments/suggestions!