Create Local SSH Tunnel
tunnel_local_forwardCreates a local SSH port forward to securely connect a local port to a remote host and port through an established SSH session.
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 |
|---|---|---|---|
| localPort | Yes | Local TCP port | |
| sessionId | Yes | SSH session ID | |
| remoteHost | Yes | Remote host | |
| remotePort | Yes | Remote TCP port |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | Yes | ||
| active | Yes | ||
| createdAt | Yes | ||
| localHost | Yes | ||
| localPort | Yes | ||
| sessionId | Yes | ||
| remoteHost | Yes | ||
| remotePort | Yes |