ssh_port_forward
Create an SSH tunnel for port forwarding to securely redirect network traffic. Supports local, remote, and dynamic forwarding.
Instructions
Create an SSH tunnel for port forwarding
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>",
"type": "<type>"
},
"name": "ssh_port_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Forward type | |
| localPort | No | Local port | |
| sessionId | Yes | Session ID | |
| remoteHost | No | Remote host (for local/remote) | |
| remotePort | No | Remote port (for local/remote) |