Skip to main content

dtctl ssh show

Usage​

dtctl ssh show <name>

Aliases​

s

Description​

Retrieve details of an SSH key by name, including its public key and fingerprint.

Example​

dtctl ssh show my-key

Response​

In text output (the default), this command returns the following columns: ID, Name, Public Key, Fingerprint, Created At, Deleted, Deleted At, Updated At.

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

CommandDescription
dtctl ssh listList SSH keys
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