ssh_tunnel_close
Closes active SSH tunnels by tunnel ID or server name, freeing local ports. Provide tunnelId for a single tunnel or server to close all tunnels on that 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 |
|---|---|---|---|
| tunnelId | No | Tunnel ID to close | |
| server | No | Close all tunnels for this server |