List SSH Keys
Returns all SSH keys deployed on a VPS, including key IDs, display names, creation dates, and public keys.
Returns all SSH keys deployed on a VPS, including key IDs, display names, creation dates, and public keys.
Required scope: vps:read
| Parameter | Type | Description |
|---|---|---|
id |
string | The VPS ID |
| Header | Required | Value |
|---|---|---|
Authorization |
Yes | Bearer YOUR_API_KEY |
{
"data": [
{
"keyId": "abc123",
"displayName": "my-key",
"createDate": "2026-04-10T12:00:00Z",
"publicKey": "ssh-ed25519 AAAAC3NzaC1..."
}
]
}
| Field | Type | Description |
|---|---|---|
keyId |
string | Unique identifier for the key |
displayName |
string | Display name given to the key |
createDate |
string | ISO 8601 creation timestamp |
publicKey |
string | The public key in OpenSSH format |
| Status | Code | Description |
|---|---|---|
| 404 | NOT_FOUND |
VPS not found or no access |
curl "https://hosting.site.quest/api/v1/vps/699cdea2ab57a244bb5273fd/ssh/keys" \
-H "Authorization: Bearer YOUR_API_KEY"
This data is also available via the list_ssh_keys MCP tool.