Skip to content

SSH Keys

Creating an SSH Key

  1. Login to cluster head node
  2. Make sure ~/.ssh exists:
    mkdir -p ~/.ssh
  3. Change to the .ssh directory:
    cd ~/.ssh
  4. Generate keys:
    ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_clustername
  5. Authorize the Public Key and paste it on the cluster side:
    cat ~/.ssh/id_ed25519_clustername.pub edit ~/.ssh/authorized_keys