# ry ssh-keys

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

```text
ry ssh-keys [options] [command]
```

## Subcommands

### `ry ssh-keys list`

The registered keys.

```text
ry ssh-keys list [options]
```

Example:

```bash
ry ssh-keys list
```

### `ry ssh-keys add`

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

```text
ry ssh-keys add [options] [file]
```

Options:

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

Example:

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

### `ry ssh-keys remove`

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

```text
ry ssh-keys remove [options] <key>
```

Options:

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

Example:

```bash
ry ssh-keys remove key-1a2b3c4d
```
