pivot_ssh_remote
Expose a local service on a remote host by creating an SSH remote port forward through a specified SSH server.
Instructions
Create an SSH remote port forward (expose local service on remote host).
Args: ssh_host: SSH server to tunnel through remote_port: Port to open on the SSH server local_host: Local host to forward to local_port: Local 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>",
"remote_port": "<remote_port>",
"local_host": "<local_host>",
"local_port": "<local_port>"
},
"name": "pivot_ssh_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key_file | No | ||
| password | No | ||
| ssh_host | Yes | ||
| username | No | root | |
| local_host | Yes | ||
| local_port | Yes | ||
| remote_port | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |