SSH Keys
Manage SSH keys for instance and server access
SSH Keys
SSH keys are used to authenticate access to instances and servers.
List SSH Keys
GET /v1/ssh-keys?providerId={providerId}Returns SSH keys for the specified provider.
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
providerId | string | Yes | Provider ID |
Create SSH Key
POST /v1/ssh-keys?providerId={providerId}Request Body:
{
"name": "my-laptop",
"publicKey": "ssh-rsa AAAA..."
}Delete SSH Key
DELETE /v1/ssh-keys/:id?providerId={providerId}Returns 204 No Content.
Supported Key Formats
| Format | Description |
|---|---|
ssh-rsa | RSA keys (minimum 2048-bit recommended) |
ssh-ed25519 | Ed25519 keys (recommended) |
ecdsa-sha2-nistp256 | ECDSA keys |
Default SSH Users
| OS Image | Default User |
|---|---|
| Ubuntu | ubuntu |
| Debian | debian |
| CentOS/Rocky | centos |
| Fedora | fedora |
Security Notes
- Only public keys are stored; private keys are never transmitted to the API
- Private keys in provider responses are automatically stripped
- Keys are injected at provision time and cannot be retrieved after creation