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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |