Create and install an SSH key (blind)
ssh_key_provisionGenerates and installs an ed25519 SSH key on a remote host, confirming fingerprints and optionally using a one-time password, while keeping private keys local.
Instructions
Generates an ed25519 key locally (private key in the secret store + private ssh-agent, or a 0600 file), shows the host key fingerprint to the person for confirmation, optionally asks them for a one-time SSH password on the local page, installs the public key in authorized_keys and tests access. Returns only alias and fingerprints.
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": {
"host": "<host>",
"alias": "<alias>"
},
"name": "ssh_key_provision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | key of ssh.hosts in config | |
| alias | Yes | ||
| storage | No | store | |
| password | No | ask the person for a one-time SSH password to install the key |