pivot_ssh_local
Establish SSH local port forwarding to access remote services locally by tunneling through an SSH server.
Instructions
Create an SSH local port forward (access remote service locally).
Args: ssh_host: SSH server to tunnel through local_port: Local port to listen on remote_host: Remote host to forward to (from SSH server's perspective) remote_port: Remote port to forward to username: SSH username password: SSH password key_file: SSH key file path
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": {
"ssh_host": "<ssh_host>",
"local_port": "<local_port>",
"remote_host": "<remote_host>",
"remote_port": "<remote_port>"
},
"name": "pivot_ssh_local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_file | No | ||
| password | No | ||
| ssh_host | Yes | ||
| username | No | root | |
| local_port | Yes | ||
| remote_host | Yes | ||
| remote_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |