ssh_connect
Establish an SSH connection to a remote host for CTF debugging. Supports key-based and password-based authentication.
Instructions
Establish an SSH connection to a remote host.
Connect to a remote server for CTF debugging. Supports both key-based and password-based authentication.
Args: host: Remote host address (IP or hostname). port: SSH port number (default: 22). username: SSH username (default: root). key_path: Path to SSH private key file (optional). password: SSH password (optional).
Returns: Connection status message.
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>"
},
"name": "ssh_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| port | No | ||
| key_path | No | ||
| password | No | ||
| username | No | root |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |