pivot_ssh_remote
Expose a local service to a remote host by creating an SSH remote port forward. Specify SSH server, remote port, local host, and port to tunnel traffic.
Instructions
Create an SSH remote port forward (expose local service on remote host).
Args: ssh_host: SSH server to tunnel through remote_port: Port to open on the SSH server local_host: Local host to forward to local_port: Local port to forward to username: SSH username password: SSH password key_file: SSH key file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_file | No | ||
| password | No | ||
| ssh_host | Yes | ||
| username | No | root | |
| local_host | Yes | ||
| local_port | Yes | ||
| remote_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |