Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Cancel the tunnel.

Component Version macOS Windows Linux Server iOS SDK
SSH 8.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.Tunnel.Cancel"; SSH )   More


Parameter Description Example
SSH The SSH session reference number from the plugin. $ssh


Returns OK or error.


Cancel the tunnel.
This sets cancel flag, but cancelling happens asynchronous, so please check running flag later.
Tunnel is automatically cancelled when session is closed.

See also

Release notes

  • Version 12.1
    • Fixed a problem with tunnel in SSH functions, where SSH.Tunnel.Cancel didn't end the tunnel quickly in some cases.

Example Databases

Blog Entries

This function checks for a license.

Created 22nd October 2018, last changed 22nd October 2018

SSH.Tunnel.BytesSent - SSH.Tunnel.Cancelled