Skip to main content

SSH Keys

SSH keys are used to securely access your TensorPool clusters. You’ll need to provide a public SSH key when creating a cluster.

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)

Using SSH Keys with Clusters

When creating a cluster, specify your public key:
tp cluster create -i ~/.ssh/id_ed25519.pub -t 1xH100 --name my-cluster

Connecting to Clusters

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

Best Practices

SSH Key Security

  • 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

I