Skip to main content

SSH Keys

SSH keys saved on your account are the ones you can put on a pod when you rent it, so you can log in with ssh. The rent form on lium.io selects your first saved key; pick the others under SSH Key if you need them. The CLI and SDK install the key they are given or configured with, and an agent on the hosted MCP installs every saved key unless it is given a specific one. This page is about SSH keys; for keys that let the CLI, SDK or an agent use your account, see API Keys.

Add an SSH key to your account

  1. At lium.io, open Access → SSH Keys in the left menu.
  2. Click ADD NEW.
  3. Enter a Name and paste your public key into Key (for example the contents of ~/.ssh/id_ed25519.pub).
  4. Click ADD.

No key yet? Run ssh-keygen -t ed25519 and paste the .pub file it makes.

With the CLI

lium ssh-keys sync adds every local public key that is not on your account yet. See lium ssh-keys.

A running pod

A new key reaches new pods only. To add it to a pod that is already running, follow Add another SSH key to a running pod in the Quickstart.