ssh_tool
Run remote commands and transfer files over SSH with persistent sessions. Supports connect, exec, upload, download, and directory listing.
Instructions
SSH client with persistent sessions. Operations: connect (host/username/password or privateKeyPath), exec (run command), upload/download (SFTP), list (remote dir), disconnect. sessionId required for all ops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| port | No | ||
| command | No | ||
| password | No | ||
| username | No | ||
| localPath | No | ||
| operation | Yes | SSH operation | |
| sessionId | Yes | Session identifier | |
| passphrase | No | ||
| remotePath | No | ||
| privateKeyPath | No |