arianet ssh
This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.
The global flags work with every command on this page.
arianet ssh
Manage SSH keys
Usage
arianet ssh <command>
Aliases: ssh-key, ssh-keys
Subcommands
add: Add an SSH keydelete: Delete an SSH keyget: Get details of an SSH keylist: List your SSH keysupdate: Update an SSH key
arianet ssh add
Add an SSH key
Usage
arianet ssh add [flags]
Examples
arianet ssh add --name my-laptop --key-file ~/.ssh/id_ed25519.pub --region 1
arianet ssh add --name my-laptop --key "ssh-ed25519 AAAA..." --region 1
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--key | string | public key content (ssh-ed25519 AAAA...) | |
--key-file | string | path to public key file (e.g. ~/.ssh/id_ed25519.pub) | |
--name | string | required. label for this SSH key | |
--region | int | required. region ID the key belongs to (see: arianet region list) |
arianet ssh delete
Delete an SSH key
Usage
arianet ssh delete <id> [flags]
Examples
arianet ssh delete 3
arianet ssh delete 3 --yes
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-y, --yes | bool | skip confirmation prompt |
arianet ssh get
Get details of an SSH key
Usage
arianet ssh get <id> [flags]
Examples
arianet ssh get 3
arianet ssh get 3 --output json
arianet ssh list
List your SSH keys
Usage
arianet ssh list [flags]
Examples
arianet ssh list
arianet ssh list --page 2 --limit 20
arianet ssh list --output json
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
-l, --limit | int | 15 | results per page (max 100) |
-p, --page | int | 1 | page number |
arianet ssh update
Update an SSH key
Usage
arianet ssh update <id> [flags]
Examples
arianet ssh update 3 --name new-label
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | required. new label for the SSH key |