ssh_tunnel_close
Tears down active SSH tunnels to free local ports. Specify a single tunnel by ID or close all tunnels for a given server.
Instructions
Tears down active SSH tunnels created earlier, freeing the bound local ports; this affects only local tunnel state, not the remote host. Exactly one of tunnelId or server must be supplied: tunnelId closes that single tunnel, while server closes every tunnel for the named server and reports how many were closed. Supplying neither raises an error. Closing is final and cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | Close all tunnels for this server | |
| tunnelId | No | Tunnel ID to close |