You can setup an SSH key to access the cluster front ends and nodes
within the CCI without being prompted for a password. This is required
if you are running parallel programs with using
mpirun and some other
frameworks that use SSH behind the scenes.
To setup a passwordless SSH key, perform the steps below once from any node. Make sure to accept the default option for storing the key and do not set a passphrase.
- Connect to one of the CCI landing pads via SSH
ssh-keygen -t rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
You can now access a other nodes, such as front-end nodes, without prompted for a password, ex: