Skip to main content
Detach an ssh key from an instance

Usage

vastai detach instance_id ssh_key_id

Arguments

instance_id
integer
required
id of the instance
ssh_key_id
string
required
id of the key to detach to the instance

Description

Example: vastai detach 99999 12345

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)