Add 'ServerAliveInterval' option to Tunnel Manager GUI

Bug #1127551 reported by Brendan Kidwell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tunnel Manager
Fix Released
Medium
Brandon Williams

Bug Description

For some of my tunnels, I need to add the ServerAliveInterval option to my ssh command line invocation, in order to send a keepalive packet often enough to prevent the server or a gateway from dropping the connection.

Please add this option to the GUI, or add the ability to specify any arbitrary additional options to the ssh command.

My current workaround: I put all my options in ~/.ssh/config, and use the "Host" value declared in there as my "Tunnel Host" in Tunnel Manager.

description: updated
Revision history for this message
Brandon Williams (opensource-subakutty) wrote :

Please see my plan for your bug 1127546.

I don't want to clutter the interface with "expert" level options that most people won't need. However, I plan to add a hidden config setting that will allow you to change the default command line options.

For tunnel specific settings, I think your work-around is the right way for expert users to handle this. I will consider adding a comment to the man page that makes it clear that .ssh/config can be used to impact the functionality of tunnels.

Changed in tunnelmanager:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Brandon Williams (opensource-subakutty)
Revision history for this message
Brandon Williams (opensource-subakutty) wrote :

Revision 73 adds a new hidden configuration variable for advanced users. Add the following to your ~/.TunnelManager/properties.conf:

[BASE]
sshbaseargs = ['-N', '-t', '-x', '-o', 'ExitOnForwardFailure=yes', '-o', 'ServerAliveInterval=300']

This will add a default ServerAliveInterval to be used when executing ssh. If you prefer this to be server specific, add server specific settings to your ~/.ssh/config file instead.

Changed in tunnelmanager:
status: In Progress → Fix Committed
Changed in tunnelmanager:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.