[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#220662: Debian bug #220662: ssh KeepAlives



Hi.
The "KeepAlive" directive (now known as TCPKeepAlive in 3.8) controls only the use of SO_KEEPALIVE socket option, which enables or disables the system-wide TCP keepalive timer per connection.

In addition to that, sshd has an application-level keepalive, controlled by ClientAliveInterval and ClientAliveCountMax. It is these that generate the "keepalive@openssh.com" messages and these that you need to change in your case, (in addition to KeepAlive).

Later versions (3.8 and up) also have the client-side equivalent (ServerAliveInterval and ServerAliveCountMax).

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




Reply to: