Enhancement #2147

SSH: connection keep alive

Added by Giacomo Sanchietti over 6 years ago. Updated almost 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-openssh
Target version:v6.5-beta3
Resolution: NEEDINFO:No

Description

Avoid disconnection of idle clients.

Tested patch:

--- /etc/e-smith/templates/etc/ssh/sshd_config/60KeepAlive 2013-04-30 11:28:33.000000000 0200
+
+ /etc/e-smith/templates-custom/etc/ssh/sshd_config/60KeepAlive 2013-08-29 14:42:58.061419618 +0200
@ -1 +1,2 @
-KeepAlive yes
+ClientAliveInterval 60
+ClientAliveCountMax 3

Associated revisions

Revision 7cef03d6
Added by Giacomo Sanchietti almost 6 years ago

sshd_config template: refactor connection keep alive. Refs #2147

History

#1 Updated by Giacomo Sanchietti about 6 years ago

  • Target version changed from ~FUTURE to v6.5-beta3

#2 Updated by Giacomo Sanchietti about 6 years ago

  • Estimated time set to 0.50

#3 Updated by Davide Principi about 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#4 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#5 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#6 Updated by Giacomo Sanchietti almost 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing
  • nethserver-openssh-1.0.3-1.0git7cef03d6.ns6.noarch.rpm

Test case

KeepAlive option is not used anymore. The behavior of sshd server should not be changed, but no disconnect should occur over long period to client inactivity.

#7 Updated by Davide Principi almost 6 years ago

  • Assignee set to Davide Principi

#8 Updated by Davide Principi almost 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

After upgrading the new parameters are in the expanded template, and the daemon was restarted.

I'm assuming sshd honours its configuration.

#9 Updated by Davide Principi almost 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

Released in nethserver/6.5/base repository.

Also available in: Atom PDF