ssh_tunnel_close
Close active SSH tunnels by tunnel ID or server name to free bound local ports. Specify one tunnel or all for a server; closing is immediate and permanent.
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 |