Skip to main content
Update an existing SSH key

Usage

vastai update ssh-key ID SSH_KEY

Arguments

id
integer
required
id of the ssh key to update
ssh_key
string
required
new public key value

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)