Skip to content

Ask AI

Powered by Blaze

Answers come from E2E Cloud documentation. AI can make mistakes.

Get started with SSH Key Management

View as Markdown

Add your SSH key to TIR once, then choose it when you create an instance, a virtual machine, or a training cluster. You make the key in a terminal on your own computer.

  1. On your computer, run ssh-keygen -t ed25519 -C "<your comment>". <your comment> is a label such as your email address or machine name.
  2. Print the public key with cat ~/.ssh/id_ed25519.pub and copy it.
  3. In TIR, open the account menu at the top right and select SSH Keys. Open the Add Key menu and select Add new key.
  4. Type a Key name, paste the public key into Public key, and select Add Key.

The key is now in your SSH Keys list, ready to choose under SSH Keys when you create an instance, a virtual machine, or a training cluster.

Once a resource with your key is running, connect from the same computer with the private key:

ssh -i ~/.ssh/id_ed25519 root@<ip-address>

<ip-address> is the IP address of the instance or cluster. The resource also needs a security group that opens port 22, such as the project’s Default-SSH-Security-Group.

Was this page helpful?