Create Local SSH Tunnel
tunnel_local_forwardForwards a local TCP port to a remote host and port through an existing SSH session, enabling secure access to remote services.
Instructions
Creates a local 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>",
"localPort": "<localPort>",
"remoteHost": "<remoteHost>",
"remotePort": "<remotePort>"
},
"name": "tunnel_local_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID | |
| localPort | Yes | Local TCP port | |
| remoteHost | Yes | Remote host | |
| remotePort | Yes | Remote TCP port |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||