Usage
Arguments
string
required
add your existing ssh public key to your account (from the .pub file). If no public key is provided, a new key pair will be generated.
Options
boolean
automatically answer yes to prompts (alias:
--yes)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
vastai create ssh-key [ssh_public_key] [-y]
--yes)vastai create ssh-key <SSH_KEY>
| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |