Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
CLICommands

orl vms ssh-key detach

Detach an org SSH key from a VM (asks for confirmation; --yes to skip), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl vms ssh-key detach <id> <key-id>

Removes the key from the VM's allowed set, so the gateway stops accepting it for SSH into the guest, and answers 204, also when the key was not attached. The last attached key cannot be detached: the guest would have no way in over SSH, so that returns 400.

Flags

FlagTypeRequired
--yesboolnoskip the confirmation prompt
--forceboolnoalias for --yes

This wraps the detachVmSshKey API operation.

On this page