host_generate_key
Generate an ed25519 SSH key pair for a host, storing the private key locally and outputting the public key line to install on the remote machine's authorized_keys.
Instructions
Uj ed25519 SSH kulcspar generalasa a szerver kulcs-konyvtaraba.
A privat kulcs helyben marad; a publikus kulcsot kell felmasolni a tavoli gep ~/.ssh/authorized_keys fajljaba (pl. 'ssh-copy-id' vagy kezzel). Ezutan a 'host_add' hivasnal add meg a privat kulcs utjat a 'key_path'-ban.
Args: params (HostGenKeyInput): name, comment. Returns: str: A privat kulcs utja + a publikus kulcs sora (ezt kell telepiteni).
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": {
"params": "<params>"
},
"name": "host_generate_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |