GitHub user necouchman opened a pull request:
https://github.com/apache/incubator-guacamole-server/pull/93
GUACAMOLE-203: Support SSH Keep Alive
This is my stab at implementing the equivalent of ServerAliveInterval in
guacd via the libssh2_keepalive_config() and libssh2_keepalive_send() calls.
It definitely needs some more testing and someone else to look and make sure I
implemented it correctly, but from the documentation I was able to find on
libssh2 and those two methods, I think it should do the trick.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/necouchman/incubator-guacamole-server
GUACAMOLE-203
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-guacamole-server/pull/93.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #93
----
commit 9da191d42a088ea79e7d73e390fe9d2a79e497c9
Author: Nick Couchman <[email protected]>
Date: 2017-05-30T20:40:33Z
GUACAMOLE-203: Add option entries for ServerAliveInterval.
commit b7f5b87e9e916349df3a6536975666a47047aa72
Author: Nick Couchman <[email protected]>
Date: 2017-05-31T12:00:09Z
GUACAMOLE-203: Implement keepalive config in SSH connection.
commit 5afada50522ebe1ba57dc87a7b41bc255579126d
Author: Nick Couchman <[email protected]>
Date: 2017-05-31T12:30:56Z
GUACAMOLE-203: Add a few more comments to code.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---