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: http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html 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): 4.0p1-3 How reproducible: Always 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. Additional info:
You can set ServerAliveInterval in ssh_config and ClientAliveInterval in sshd_config already. These options apply to protocol 2 only but the protocol 1 shouldn't be normally used anyway.