import_ssh_key
Import an SSH public or private key into cPanel for secure authentication. Specify key content, name, and type (RSA or DSA) to add the key.
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 |