Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

pols ssh-key

Manage the SSH public keys that open your org's sandboxes

Manage the SSH public keys that open your org’s sandboxes

Usage

pols ssh-key [flags]
pols ssh-key [command]

Subcommands

Command Description
pols ssh-key add Register a public key (default ~/.ssh/id_ed25519.pub, id_ecdsa.pub or id_rsa.pub; - reads stdin)
pols ssh-key ls List registered keys
pols ssh-key rm Remove a key (by ID); open sessions stay open

Flags

-h, --help   help for ssh-key

pols ssh-key add

Register a public key (default ~/.ssh/id_ed25519.pub, id_ecdsa.pub or id_rsa.pub; - reads stdin)

Usage

pols ssh-key add [FILE] [flags]

Flags

-h, --help          help for add
    --name string   label (default: the key's comment)

pols ssh-key ls

List registered keys

Usage

pols ssh-key ls [flags]

Flags

-h, --help   help for ls

pols ssh-key rm

Remove a key (by ID); open sessions stay open

Usage

pols ssh-key rm KEY [flags]

Flags

-h, --help   help for rm

The global flags work with this command too.