ssh_forward
Create SSH port forwards for local, remote, or dynamic SOCKS tunneling.
Instructions
Create a port forward.
Spec: L:lport:dhost:dport (local), R:rport:dhost:dport
(remote), or D:lport (dynamic SOCKS).
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": {
"host": "<host>",
"spec": "<spec>"
},
"name": "ssh_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| spec | Yes | ||
| user | No | ||
| port | No | ||
| key_path | No | ||
| known_hosts | No | ||
| jump | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |