Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

SSH.CloseChannel

Closes the channel.

Component Version macOS Windows Linux Server iOS SDK
SSH 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.CloseChannel"; SSH { ; Wait } )   More

Parameters

Parameter Description Example Flags
SSH The SSH session reference number from the plugin. $ssh
Wait Whether to wait if it takes longer. Default is 0. 1 Optional

Result

Returns OK or error.

Description

Closes the channel.
This closes it now. Normally all channels are closed automatically when you release connection with SSH.Release.

Examples

Close channel:

Set Variable [$r; Value:MBS( "SSH.CloseChannel"; $ssh )]

See also

Example Databases

This function checks for a license.

Created 29th May 2016, last changed 12nd November 2017


SQL.isResultSet - SSH.ConfigureKeepAlive

💬 Ask a question or report a problem