SSH Keys¶
Creating an SSH Key¶
- Login to cluster head node
- Make sure ~/.ssh exists:
mkdir -p ~/.ssh - Change to the .ssh directory:
cd ~/.ssh - Generate keys:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_clustername - Authorize the Public Key and paste it on the cluster side:
cat ~/.ssh/id_ed25519_clustername.pubedit~/.ssh/authorized_keys