| Summary: | Ability to set KeepAlive time | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Dan <danfuzz> |
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED WONTFIX | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Dan
2002-11-25 13:47:54 AEDT
The "KeepAlive" option enables TCP_KEEPALIVE on the socket which uses a system-wide setting (normally 2 hours according to Stevens.) There is a "Heartbeat" patch for openssh which does what you want, see http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html Thanks for the reference to the heartbeat patch; I'll probably be installing it shortly. However, I should note that at least on some systems (on mine at least), there *is* a TCP option to change the keepalive time. You probably want ClientAliveInterval in sshd_config As mentioned, TCP keepalives are a system-wide setting. On linux you can tweak them using "sysctl -w net.ipv4.tcp_keepalive_time=xxx" or through /proc/sys Adding protocol-level keepalives to the client (they are already in the server) is a separate issue (and bug). Mass change of RESOLVED bugs to CLOSED |