Skip to main content

targon ssh-key

Manage SSH public keys. Alias: key.

targon ssh-key <COMMAND>

targon ssh-key add

Register a public key from a file.

targon ssh-key add <PATH> [--name <NAME>]

If --name is omitted, the CLI derives a name from the key comment or file stem.

targon ssh-key add ~/.ssh/id_ed25519.pub --name laptop

targon ssh-key list

List registered SSH keys.

targon ssh-key list

targon ssh-key get

Show an SSH key, including the public key material.

targon ssh-key get <UID>

targon ssh-key delete

Delete an SSH key.

targon ssh-key delete <UID>