ssh_exec
Execute remote commands over SSH on Windows, Linux, and macOS. Bypass desktop session limits and command length restrictions.
Instructions
Execute remote commands over SSH. Supports Base64 UTF-16LE, Session 0 bypass (--desktop), 8191 char limit bypass, and dual auth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Target host IP or domain | |
| port | No | SSH port (default 22) | |
| command | Yes | Command or script body to execute remotely | |
| desktop | No | Windows only: launch process in active GUI user session (Session 1) | |
| session | No | Windows only: specific session ID for desktop launch | |
| password | No | SSH password | |
| targetOs | No | Target OS (default auto-detect) | auto |
| username | Yes | SSH username | |
| privateKeyPath | No | Path to private key file |