Bug 160705

Summary: Heartbeat/Watchdog Patch for OpenSSH (RFE)
Product: [Fedora] Fedora Reporter: Pete Toscano <shubnub>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 4Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-16 16:04:54 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Pete Toscano 2005-06-16 15:37:47 EDT
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):

How reproducible:

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:
Comment 1 Tomas Mraz 2005-06-16 16:04:54 EDT
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.