ssh_session_start
Establish a persistent SSH session to a target host. Supports password or key-based authentication, custom username, port, and returns a session ID for ongoing management.
Instructions
Start a persistent SSH session to a target host.
Args: target: Target hostname or IP username: SSH username (default: root) password: SSH password (if using password auth) key_file: Path to SSH private key file (if using key auth) port: SSH port (default: 22) session_id: Optional session identifier (auto-generated if empty)
Returns: Session ID and connection status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| target | Yes | ||
| key_file | No | ||
| password | No | ||
| username | No | root | |
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |