Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Version 10.2
- Added SSH.Tunnel.GetKeepAlive and SSH.Tunnel.SetKeepAlive functions.
Blog Entries
This function checks for a license.
Created 11st March 2020, last changed 19th April 2020
