Skip to main content

dtctl ssh delete

Usage​

dtctl ssh delete <name> [flags]

Aliases​

d

Description​

Delete a registered SSH key by name. This only removes the key from your account; virtual machines already created with it are not affected.

Example​

# Delete the SSH key registered as 'my-key'
dtctl ssh delete my-key

Flags​

OptionDescription
--force, -fDelete without asking for confirmation
Default: false
CommandDescription
dtctl ssh listList SSH keys
dtctl ssh showShow an SSH key
dtctl ssh createRegister an existing public 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