Skip to main content

dtctl ssh list

Usage​

dtctl ssh list

Aliases​

l

Description​

Retrieve the SSH keys registered in your account, by name.

Example​

dtctl ssh list

Response​

In text output (the default), this command returns the following columns: Name, Created At.

Pass --output json to get the full response object instead.

Example output:

Name          Created At
---- ----------
my-key Mar 24, 2026 08:59 AM
deploy-key Jan 22, 2026 11:34 AM
CommandDescription
dtctl ssh showShow an SSH key
dtctl ssh createRegister an existing public key
dtctl ssh deleteDelete an SSH key
dtctl ssh generateGenerate a new SSH key pair

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text