ssh_setup_passwordless
Deploy an ed25519 public key to Linux or Windows to enable passwordless SSH login, with automatic key installation and verification.
Instructions
Deploy ed25519 public key to Linux (~/.ssh/authorized_keys) or Windows (administrators_authorized_keys with ACLs) and verify key login.
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>",
"username": "<username>",
"password": "<password>"
},
"name": "ssh_setup_passwordless"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target host IP or domain | |
| port | No | SSH port | |
| keyPath | No | Local private key path (defaults to ~/.ssh/id_ed25519) | |
| password | Yes | Current SSH password (required to deploy key for the first time) | |
| targetOs | No | Target OS type | auto |
| username | Yes | Target SSH username | |
| forceOverwrite | No | Force overwrite existing key entry if key mismatch occurs |