Attach SSH Key to VPS
vps_keys_attachAttach an SSH public key to a virtual machine by providing the VM ID and the public key ID. Enable secure key-based access for your VPS.
Instructions
Attach an SSH public key to a virtual machine.
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": {
"vm_id": "<vm_id>",
"public_key_id": "<public_key_id>"
},
"name": "vps_keys_attach"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | Virtual machine ID | |
| public_key_id | Yes | Public key ID |