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
| Option | Description |
|---|---|
--force, -f | Delete without asking for confirmation Default: false |
Related Commands
| Command | Description |
|---|---|
| dtctl ssh list | List SSH keys |
| dtctl ssh show | Show an SSH key |
| dtctl ssh create | Register an existing public key |
| dtctl ssh generate | Generate a new SSH key pair |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |