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.
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 |