Skip to main content
SSH keys are used to securely access your TensorPool clusters.

Generating SSH Keys

If you don’t already have SSH keys, generate them:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519
This will create two files:
  • ~/.ssh/id_ed25519 - Your private key (keep this secure!)
  • ~/.ssh/id_ed25519.pub - Your public key (used when creating clusters)

Saving Your Key to Your Profile

Save your public key to your TensorPool account so it’s automatically applied to every new cluster:
tp me sshkey add ~/.ssh/id_ed25519.pub
Once saved, you no longer need to pass -i each time you create a cluster:
# Without a saved key — must specify each time
tp cluster create 1xH100 -i ~/.ssh/id_ed25519.pub --name my-cluster

# With a saved key — just create
tp cluster create 1xH100 --name my-cluster
You can also manage SSH keys from the TensorPool dashboard. Verify your saved keys at any time:
tp me sshkey list

Connecting to Clusters

Once your cluster is ready, connect using the TensorPool CLI:
tp ssh <instance_id>
Your SSH client will automatically use your private key to authenticate.

Best Practices

  • Keep your private key secure: Never share your private key (~/.ssh/id_ed25519)
  • Use strong passphrases: Protect your private key with a passphrase
  • Restrict permissions: Ensure your private key has proper permissions (chmod 600 ~/.ssh/id_ed25519)

Next Steps