ssh_tunnel_close
Close active SSH tunnels to free bound local ports. Specify a tunnel ID to close one tunnel or a server name to close all tunnels for 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 |
|---|---|---|---|
| server | No | Close all tunnels for this server | |
| tunnelId | No | Tunnel ID to close |