session_connect
Connect to a Linux host via SSH using a password or key file. Supports ad-hoc connections and custom session IDs.
Instructions
Connect to a Linux host via SSH. target: IP/hostname or a pre-configured alias. Use password or key_file for ad-hoc connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | SSH port (default 22) | |
| user | No | SSH username (optional if pre-configured) | |
| target | Yes | IP, hostname, or pre-configured alias | |
| key_file | No | Path to SSH private key file (for ad-hoc connections) | |
| password | No | SSH password (for ad-hoc connections) | |
| session_id | No | Custom session ID (auto-generated if empty) |