Skip to main content
Manage SSH keys and get SSH connection information for Pods.

Subcommands

Get SSH connection info

Get SSH connection details for a Pod. This returns the SSH command and key information, but does not initiate an interactive session:

Info flags

--verbose
bool
Include Pod ID and name in output. Shorthand: -v.
The ssh info command returns connection details that you can use to connect via SSH manually. It does not start an interactive SSH session.To connect to your Pod, use the SSH command provided in the output:

List SSH keys

List all SSH keys associated with your account:

Add an SSH key

Add a new SSH key to your account:

Add-key flags

--key
string
The public key string to add.
--key-file
string
Path to a file containing the public key.

Remove an SSH key

Remove an SSH key from your account by name or fingerprint:
You must provide either --name or --fingerprint. If multiple keys share the same name, use --fingerprint instead.

Remove-key flags

--name
string
Name of the key to remove.
--fingerprint
string
Fingerprint of the key to remove. Use this when multiple keys have the same name.