Skip to content

CLI reference

ry ssh-keys

Markdown

SSH public keys of this org (for ssh <app>@ssh.<domain>).

ry ssh-keys [options] [command]

The registered keys.

ry ssh-keys list [options]

Example:

ry ssh-keys list

Register a public key (default: ~/.ssh/id_ed25519.pub, then id_ecdsa.pub, … id_rsa.pub).

ry ssh-keys add [options] [file]

Options:

  • -n, --name <name>: A name for the key (default: its comment).

Example:

ry ssh-keys add ~/.ssh/id_ed25519.pub

Remove a key by id or fingerprint; channels of open connections with it are refused from then on.

ry ssh-keys remove [options] <key>

Options:

  • -y, --yes: Skip confirmation (required for automation).

Example:

ry ssh-keys remove key-1a2b3c4d