Start SSH Port Forward
remote_ssh_start_port_forwardStart an SSH -L tunnel to forward a remote port to a local port via the configured SSH host, keeping the tunnel active for the MCP server's lifetime.
Instructions
Start a local SSH -L tunnel through the configured SSH host. The tunnel stays alive while this MCP server process is alive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH hostname or IP address. Overrides REMOTE_SSH_HOST. | |
| localHost | No | Local bind address. Defaults to 127.0.0.1. | |
| localPort | Yes | Local TCP port to bind. | |
| remoteHost | No | Remote destination host. Defaults to 127.0.0.1. | |
| remotePort | Yes | Remote TCP port to connect to from the SSH host. | |
| connectTimeoutSeconds | No |