ssh_session_start
Start a persistent SSH session to a remote host using password or key authentication, returning a session ID for subsequent commands.
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 |