Create Remote SSH Tunnel
tunnel_remote_forwardCreates a remote SSH port forward to expose a local service on a remote host. Specify session ID, remote and local ports, and local host.
Instructions
Creates a remote SSH port forward
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"remotePort": "<remotePort>",
"localHost": "<localHost>",
"localPort": "<localPort>"
},
"name": "tunnel_remote_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| remotePort | Yes | Remote TCP port | |
| localHost | Yes | Local host | |
| localPort | Yes | Local TCP port |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||