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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SSH.Tunnel.SetKeepAlive

Sets keep alive status.

Component Version macOS Windows Linux Server iOS SDK
SSH 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.Tunnel.SetKeepAlive"; SSH; Value )   More

Parameters

Parameter Description Example
SSH The SSH session reference number from the plugin. $ssh
Value The new setting.
Pass 1 to enable keep-alive or 0 to disable.
1

Result

Returns OK or error.

Description

Sets keep alive status.
If set to 1, TCP keep alive probes will be sent to avoid TCP/IP timeouts.
Set to 0 (default behavior) to disable keep alive probes.

See also SSH.SetTimeout.

Examples

Enable keep alive:

Set Variable [ $r; Value: MBS( "SSH.Tunnel.SetKeepAlive"; $SSH; 1 ) ]

See also

Release notes

Blog Entries

Created 11st March 2020, last changed 19th April 2020


SSH.Tunnel.Running - SSH.UserAuthKeyboardInteractive

Feedback: Report problem or ask question.