Community
Participate
Working Groups
RSE ssh sessions to build.eclipse.org time out after 1 hour or so of inactivity. When the user tries to use RSE after that time, e.g. type somehting in the ssh shell, there is a short delay and then an error message "connection...canceled" is shown. RSE should support optional ssh keepalives in order to keep the session active in spite of inactivity.
As another option, RSE could also ask the user to automatically reconnect (and thus keep the current state of the session intact).
This will be fixed when a new version of jsch becomes part of the Platform. The new jsch has some API for keepalives.
Platform won't get it before RC3
This requires an NLS change for the UI to allow specifying the keepalive timeout (supposedly as a PropertySet). Thus assigning 3.0
Keepalive was added in JSch 0.1.29: http://sourceforge.net/mailarchive/forum.php?thread_name=200608251811.DAA28235%40jcraft.com&forum_name=jsch-users - feature: KeepAlive is implemented and Session#setServerAliveInterval(int interval) and Session#setServerAliveCountMax(int count) are added. targeting M5 since this feature is the one I'm currently missing most (I hate to relogin every day).
Added a hard-coded keepalive interval of 5 minutes: RSE: SshConnectorService.java Terminal: SshConnection.java Opened bug 218880 for making this user-configurable.
Verified with 3.0.2 canidate on Linux. After 1 day of inactivity, the 2.0.2 terminal connection via ssh to dev.eclipse.org was disconnected, while the 2.0.3 one was still alive.