Skip to main content
Register public keys for VM, Bare Metal, and Slurm access, then verify that the key you need is installed. VM and Bare Metal use reservation SSH keys. Slurm uses saved account keys when the cluster launches; its cluster page manages login access. You register one or more public keys on your account; VM and Bare Metal launches add every active account key to the reservation by default, and you can still pick a specific key when you activate access. Keys are scoped to your tenant and can be managed from the web app, the Ornn Compute CLI, and the REST API. Three terms are used throughout the access guides:
  • Register a key on your account: open SSH Keys in the sidebar and click Add SSH key, enter the key details and confirm Add public key, or run ornn ssh-keys add.
  • Add a key to a reservation: click Add key in the reservation’s SSH Keys section. From the CLI, run ornn ssh-keys assignments assign <reservation-id> --key <key-id>.
  • Launch the reservation: Ornn queues the reservation’s active keys for the host. Queued is not installed. With no key selection, every active key on your account is added and queued.
Holding a reservation, or a filled Pay-as-you-go bid, does not put the key on the machine. The VM still has to become ready, then the key still has to install. Wait for the installed label before you SSH. Key sync runs in the background. Its duration depends on machine readiness and connectivity; a submitted update does not mean your key is installed yet. Existing reservations that still use organization keys keep that access during the update. Their first reservation-key edit saves the current active list before adding or removing the requested key. After that, only the reservation’s saved list is synced; removing its last key leaves no customer SSH access. New reservations save their initial keys when deployed; before deployment, their key list shows only keys you explicitly added. Organization-wide removal saves the removal on active reservations before revoking the account key. If that step fails, retry the removal. Re-registering a key does not restore its removed reservation access. If you already have active account keys, you do not need to add them again during provisioning. The reservation refreshes its key list as installation is confirmed. Missing-key prompts stay hidden while keys are checked and appear only after setup if keys are still missing. You can add keys while a reservation activates. Keys added before access setup are included; a key added later may need to be added again after activation finishes. Key removals and changes during other operations can remain blocked until those operations finish. Creation and sync failures stay in the dialog so you can retry. Field and file validation appears beside the affected input.

Prerequisites

  • An SSH key pair generated locally. If you don’t have one, run:
  • The public key only (~/.ssh/id_ed25519.pub) is uploaded to Ornn. Never share or upload the private key.
Ed25519, RSA, and ECDSA public keys are all supported. Ed25519 is recommended for new keys, but you can register an existing ssh-rsa or ecdsa-sha2-* key if you already use one.

Add a key (web app)

1

Open SSH Keys

Open SSH Keys in the sidebar (/ssh-keys).
2

Add a key

Click Add SSH key in the header or empty state. The same form is available from reservation and cluster setup, and Cluster Users; paste a public key or choose Upload .pub.
3

Enter the key details

Enter a Key name to identify the key (for example, laptop or ci-runner), then paste the full contents of your .pub file into the SSH public key field.
4

Add the key

On the account page, optionally choose active VM or Bare Metal reservations in Add to reservations. None selected saves the account key without requesting delivery. Each selected reservation receives the key on all its machines. From a reservation detail page or after a purchase, the destination is already set, so there is no picker. Click Add public key to save the key and attach it to those reservations, including before machines are assigned. The dialog closes after the requests succeed. Installation status is shown on the reservation.

Generate a key in the web app

If you don’t have a key pair, open the menu beside Add SSH key and choose Create SSH key pair. Enter a Key name and click Generate key pair. Your browser downloads the private key as a .pem file. The next step lets you copy the permission command for your operating system. On the account page, it also shows the optional reservation selector. Click Add key to save the public key and attach it to the reservations chosen by you or the page you opened it from. Ornn does not store the private key, and the download happens only once. Before connecting, restrict access to the private key. Use the command for your operating system and update the path if your browser saved the file with a different name or in a different folder.
Move the file somewhere private, such as ~/.ssh/, and delete any other copies. If anyone else could have read the file, revoke the key on SSH Keys and generate a new one. ornn connect --identity-file refuses a private key that other users can read.

Connect with the right private key

Open a reservation from Nodes, then select the node. Its side panel shows the IP address below the node name and a Connection section above its metrics. Manage this reservation’s keys in its SSH Keys tab. The account SSH Keys page remains available for ongoing management. Key changes are blocked while a reservation operation is pending. If the operation is stuck, contact support with the reservation link before retrying the key update. Once SSH access is ready, copy the command from Connection and run it on your computer. SSH uses your local agent, configuration, or default identity files. The private key must match a public key installed on the node. For a key stored elsewhere, configure SSH locally or add -i /path/to/private-key to the command in your terminal. Never paste the private key’s contents into the console. A key label identifies a public key; it does not tell Ornn where the matching private file lives. A generated .pem file may be in Downloads until you move it. Check the file permissions above before connecting. For connection errors, click Trouble connecting? in the node’s Connection section or see SSH troubleshooting. Copying the command, installing a key, and launching a node do not confirm a successful SSH session. Verify that your terminal reaches the node’s shell before running a workload.

Add a key (CLI)

Paste the key inline:
Or read it from a file:
The --label value is the CLI equivalent of the web Key name field. For scripted key creation, follow the CLI interaction contract, including an explicit output format and stable idempotency key.

List keys

If active keys cannot load, choose Retry in the loading-error state. If a refresh fails, the last loaded keys stay visible; open Couldn’t refresh to try again. A failed revoke shows an error notification and leaves the key in the list. The expanded Revoked keys section has its own retry and refresh status; failures there do not hide your active keys. Web app: SSH Keys in the sidebar shows active keys by default. If you have revoked keys, expand Revoked keys below the active list to load their history, including revocation dates. Active keys stay visible while you browse history. Use Load more active keys or Load more revoked keys when more entries are available. Web row actions: hover over a key or focus its three-dot button to open Copy public key, Download .pub, or Revoke key. Copy and download use only the public key. On touch screens, the menu button stays visible. The Updated column shows when an active key was created, or when a historical key was revoked. CLI:
The CLI lists up to 50 active keys per page. Set --limit to change the page size and pass page.next_cursor from JSON output to --cursor to continue. Each entry shows the key id, label, and fingerprint. Add --format json for the full record, including the creation timestamp.

Add a key to a reservation

Reservations use your organization’s keys by default: launching without a key selection queues every active organization key for the machine, including VMs launched automatically after a Spot purchase. The initial keys are saved for that reservation. Later organization key registrations do not expand its list: add each new key explicitly to the reservations that need it. Adding or removing a reservation key changes only that key. If you edit the list before first launch, Ornn uses that saved list instead of copying organization keys. Web app: open the reservation detail page at /portfolio/[reservationId]. With no account keys, the access banner has an Add SSH key split button, and the summary has Add SSH keys. Creating a key here automatically attaches it to this reservation, with no destination picker. With account keys but no reservation keys, Add account keys opens the SSH Keys tab. Choose Add all account keys, Add to reservation beside one key, or Add new SSH key. You can add a key before or after launch. Before launch, Ornn saves it for provisioning. After launch, Ornn associates it with each active VM or Bare Metal node shown in the grouped reservation. The SSH access update is queued immediately, so no relaunch is required. A queued update is not the same as an installed key. Saved reservation keys appear in its SSH-key list before installation; delivery status shows whether they have reached the machine. A key added to the account later appears in the reservation list after you use Add all account keys or Add to reservation to attach it; it may still be waiting for installation.
The SSH Keys tab and panel are hidden when the reservation has no underlying compute reservation yet — for example, a reservation created through the exchange that hasn’t been picked up for provisioning. Attaching a key requires a compute reservation, so the section reappears once one exists. A compute reservation that exists but hasn’t launched a node still shows the section, since registering keys before launch is supported.
For Slurm, open the cluster’s SSH keys tab to add a saved key and refresh login access. Check the authorized fingerprint before connecting. See Slurm access. CLI: ornn launch queues VM or Bare Metal access and queues the key for those machines. --wait waits for the machine. The Linux login is ubuntu on VMs (older VMs keep tenant) and tenant on Bare Metal. The key is ready for SSH only after delivery shows installed.
Specifying a key at launch adds it to the reservation without removing other effective keys. Remove unwanted keys explicitly from the reservation. Get the <key-id> from ornn ssh-keys list, which prints each registered key’s id. --key also accepts a saved key label, inline public key, or public-key file path. If you pass a private key path by mistake and the matching .pub file exists, the CLI uses the public key file and refuses to upload private key material. To create a key for an active reservation, use Add new SSH key on its detail page. Ornn attaches the key to that reservation and queues delivery to all its machines. Wait for Registered · Installed on node (or Installed on all N nodes) before you SSH with that key. From the CLI, add the key directly to the reservation:
The reservation command also queues the updated key set on any active machines for that reservation. To re-sync the keys already attached to the reservation, run:
Your reservation’s saved keys load using your signed-in account and selected organization. If you see Sign in again to continue, sign in again and reopen the reservation.

Delivery status

Each key in a reservation’s SSH Keys section shows a status label that reflects delivery across every active VM or Bare Metal node in the reservation. Queued is not installed. Use the key for SSH only after the installed label appears on every machine you need. If the reservation has no keys yet, the section shows No SSH keys and asks you to add a public key before you can access your nodes. When a reservation has no keys, use Add all account keys to attach all your active account keys and queue their delivery. Once keys are attached, use Add to reservation to add another account key individually. A successful queue is still not an install. Removing a key from a VM or Bare Metal reservation queues the remaining keys for its machines. If you remove the last key, the reservation keeps an empty list until you add a key. Later launches and resets do not reinstall organization keys. To stop a key from working on every reservation, revoke it. Once a machine applies the update, new SSH connections using a removed key are denied; existing sessions stay connected.

Revoke a key

Revoking a key removes it from your active account keys immediately. In the web app, Ornn also makes a best effort to detach it from your VM and Bare Metal reservations for everyone in your organization and queue the remaining active reservation keys for their machines. After account revocation succeeds, cleanup waits at most 30 seconds; remaining cleanup attempts stop when that limit is reached. Removal takes effect when a machine applies the update; successful account revocation does not confirm removal from every machine. Add or push a replacement key before revoking a key you still need.
Web app: on SSH Keys, open the key’s three-dot menu and choose Revoke key. Re-adding the same public key reactivates its account record without pushing it to machines. Add it to a reservation explicitly to restore an association that was removed. CLI:

Use the API

Every task on this page is also available over REST with an API key. Account keys belong to your organization, so the key routes take your organization id from GET /v1/auth/session. These routes require membership in that organization.

Add a key and assign it to a reservation

Adding a key returns 201 with outcome created for a new key. It returns 200 with already_registered when your organization already has that public key; your label is not applied. Send only the .pub file, never the private key. Assigning the key returns 201 and queues delivery to the reservation’s active VM and Bare Metal machines. The first key you assign replaces the default of every account key. You can also skip the first request: send {"public_key": "...", "label": "laptop"} to the assignment route to register and assign a new key in one call. To read keys, call List organization SSH keys with status=active&limit=100 and follow next_cursor, or List a reservation’s SSH keys for the keys a reservation uses.

Check delivery

A queued key is not installed. Poll the reservation’s nodes and wait until each machine reports the key’s fingerprint:
Each node from List reserved nodes reports authorized_key_fingerprints for installed keys and authorized_key_metadata with status installed or failed and a failure_reason. Connect only after the fingerprint appears on every machine you need. Poll every few seconds with a deadline.

Push keys again

Ornn automatically retries a failed VM or Bare Metal key update up to three times, waiting at least 10 seconds, 30 seconds, then 2 minutes. An offline machine waits until it reconnects. Each retry uses the reservation’s current saved keys, including an empty list after all keys have been removed. Successful machines are left alone. If the update still fails, inspect the error and retry manually after the underlying problem is fixed. These retries apply to key updates, not initial machine startup. If a machine was offline or a delivery failed, queue the reservation’s keys for that machine again. Pass the host node ID: a Bare Metal node’s node_id, or for a VM, the node_id from the reservation’s VM list, not the VM’s own id. Ornn updates that host and the reservation’s VMs on it:
Push SSH keys to a machine queues the reservation’s full key set, not only the keys you list. Machines in a Kubernetes or Slurm cluster return 409.

Remove or revoke a key

Unassign a key from a reservation to remove an assignment you made. Revoke the key to remove it from your account and, on a best-effort basis, from every VM and Bare Metal reservation in your organization:
The revoke request can take up to 30 seconds while Ornn queues removal from your machines. A successful response does not confirm that every machine has applied it; check delivery as above.

What’s next

vm-access

VM access

Activate a managed VM and attach an SSH key to your reservation.
bare-metal-access

Bare Metal access

Attach an SSH key for direct host access on a Bare Metal reservation.
When adding a key from a reservation, cluster, or Cluster Users, choose Generate key to generate it on your device. Download the private key, then choose Add key to save and use the public key.