CLIGPU SSH Keys
hudl gpu key upload <name>
Upload an SSH public key to use with GPU deployments.
Upload an SSH public key so it can be injected into GPU deployments at provisioning time. You can provide the key material directly with --public-key or read it from a file with --file.
Usage
hudl gpu key upload <name> [flags]Flags
| Flag | Description |
|---|---|
--public-key <key> | The SSH public key string (e.g., ssh-ed25519 AAAA...). |
--file <path> | Path to a public key file to upload (e.g., ~/.ssh/id_ed25519.pub). |
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Upload a key from a file:
hudl gpu key upload my-workstation --file ~/.ssh/id_ed25519.pubUpload a key inline:
hudl gpu key upload ci-runner --public-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAI... ci@example.com"API reference
This command calls POST /gpu/ssh-keys under the hood. See the full request and response schema in the API reference.