Red Hat Bugzilla – Bug 160705
Heartbeat/Watchdog Patch for OpenSSH (RFE)
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Epiphany/1.6.1
Description of problem:
It'd be great to apply the patch from this site to the FC4 openssh packages:
I'm constantly having longer-running ssh sessions through a NAT firewall dropped due to inactivity. With this patch, the problem disappears. I don't know why some (pre-patched) ssh sessions through NATs stay up indefinately while others don't, but this problem fixes that problem.
It's an easy patch to apply. I'll include my spec file. The tgz with the patch file is available at the above link.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Ssh to a box on the other side of a Checkpoint firewall.
2. Wait a couple hours.
Actual Results: Session disappears due to inactivity.
Expected Results: It should stay up until I exit the session.
You can set ServerAliveInterval in ssh_config and ClientAliveInterval in
These options apply to protocol 2 only but the protocol 1 shouldn't be normally