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
| Flag | Type | Required | |
|---|---|---|---|
--yes | bool | no | skip the confirmation prompt |
--force | bool | no | alias for --yes |
This wraps the detachVmSshKey API operation.