ssh_test_connection
Verifies SSH connectivity to a host and identifies its operating system. If the host is unreachable or lacks SSH, returns an RDP one-liner script for alternative access.
Instructions
Test SSH connection & probe target OS. If server is unreachable/uninstalled, outputs RDP 1-liner script.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target hostname or IP address | |
| port | No | SSH port (default 22) | |
| password | No | SSH password | |
| username | Yes | SSH username | |
| privateKeyPath | No | Path to private key file |