import_ssh_key
Import an SSH public or private key into cPanel by providing a key name and key content, with optional RSA or DSA type selection.
Instructions
Import an SSH public or private key
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>",
"key": "<key>"
},
"name": "import_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key content | |
| name | Yes | Key name/identifier | |
| type | No | Key type | rsa |