SSH keys on a machine
instance_ssh_keysList, add or take off the SSH keys that can log in to a running machine. With only instance_id: the keys on it (fingerprint, comment, the saved key's name). add_ssh_key_ids / add_public_keys: more keys can log in (a teammate's, a new laptop's), at once. remove_fingerprints: those keys can't log in any more (rotate a key: add the new one and remove the old one in one call); taking keys off takes up to half a minute, and at least one key must stay. Free: it changes no billing. Keys are never returned, only fingerprints.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "<instance_id>"
},
"name": "instance_ssh_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | ||
| add_public_keys | No | Public keys that can log in too (the .pub file's line). | |
| add_ssh_key_ids | No | Saved keys (list_ssh_keys) that can log in too. | |
| remove_fingerprints | No | Fingerprints (SHA256:...) of keys on the machine to take off. |