SSH.Tunnel.GetKeepAlive
-----------------------

Queries keep alive status.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SSH](component_SSH.md) | [10.2](newinversion102.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SSH.Tunnel.GetKeepAlive"; SSH ) 

**MBS**( **"SSH.Tunnel.GetKeepAlive";** /\* Queries keep alive status. \*/  
**$SSH**) /\* The SSH session reference number from the plugin. \*/ 

### Parameters

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

### Result

Returns 1 or 0 or error.

### Description

Queries keep alive status.  
Value is 1 to send keep-alive packets to avoid TCP/IP timeouts.  
### See also

- [SSH.Tunnel.SetKeepAlive](SSHTunnelSetKeepAlive.md)

### Release notes

- **Version 10.2**
    - Added [SSH.Tunnel.GetKeepAlive](https://www.mbsplugins.eu/SSHTunnelGetKeepAlive.shtml) and [SSH.Tunnel.SetKeepAlive](https://www.mbsplugins.eu/SSHTunnelSetKeepAlive.shtml) functions.

### Blog Entries

- [News about the MBS FileMaker Plugin 10.2](https://www.mbsplugins.de/archive/2020-05-19/News_about_the_MBS_FileMaker_P/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.2pr1](https://www.mbsplugins.de/archive/2020-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 11st March 2020 , last changed 11st March 2020

  
[SSH.Tunnel.GetConnected](SSHTunnelGetConnected.md) - [SSH.Tunnel.Messages](SSHTunnelMessages.md)

[HTML Version](SSHTunnelGetKeepAlive.shtml)