Add SSH key
account_sshkey_createAdd an SSH public key to a Pterodactyl account to enable key-based SSH authentication for that account.
Instructions
Add an SSH public key to the account.
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": {
"name": "<name>",
"public_key": "<public_key>"
},
"name": "account_sshkey_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| panel | No | Name of a saved panel. Omit to use the active or default panel. | |
| baseUrl | No | Inline panel URL override, e.g. https://panel.example.com. Not persisted. | |
| clientKey | No | Inline client API key (ptlc_…) override. Not persisted. | |
| public_key | Yes | ||
| applicationKey | No | Inline application API key (ptla_…) override. Not persisted. |