diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-01-25 22:41:01 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-01-26 10:15:13 +1100 |
commit | 69334996ae203c51c70bf01d414c918a44618f8e (patch) | |
tree | 49c989200f7fe21406efa34ed341601079a75d25 /sshd_config.5 | |
parent | bf986a9e2792555e0879a3145fa18d2b49436c74 (diff) |
upstream: make sshd_config:ClientAliveCountMax=0 disable the
connection killing behaviour, rather than killing the connection after
sending the first liveness test probe (regardless of whether the client was
responsive) bz2627; ok markus
OpenBSD-Commit-ID: 5af79c35f4c9fa280643b6852f524bfcd9bccdaf
Diffstat (limited to 'sshd_config.5')
-rw-r--r-- | sshd_config.5 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshd_config.5 b/sshd_config.5 index d47cb0d24..2cddbd598 100644 --- a/sshd_config.5 +++ b/sshd_config.5 | |||
@@ -33,7 +33,7 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: sshd_config.5,v 1.301 2020/01/25 22:36:22 djm Exp $ | 36 | .\" $OpenBSD: sshd_config.5,v 1.302 2020/01/25 22:41:01 djm Exp $ |
37 | .Dd $Mdocdate: January 25 2020 $ | 37 | .Dd $Mdocdate: January 25 2020 $ |
38 | .Dt SSHD_CONFIG 5 | 38 | .Dt SSHD_CONFIG 5 |
39 | .Os | 39 | .Os |
@@ -519,6 +519,9 @@ is set to 15, and | |||
519 | .Cm ClientAliveCountMax | 519 | .Cm ClientAliveCountMax |
520 | is left at the default, unresponsive SSH clients | 520 | is left at the default, unresponsive SSH clients |
521 | will be disconnected after approximately 45 seconds. | 521 | will be disconnected after approximately 45 seconds. |
522 | Setting a zero | ||
523 | .Cm ClientAliveCountMax | ||
524 | disables connection termination. | ||
522 | .It Cm ClientAliveInterval | 525 | .It Cm ClientAliveInterval |
523 | Sets a timeout interval in seconds after which if no data has been received | 526 | Sets a timeout interval in seconds after which if no data has been received |
524 | from the client, | 527 | from the client, |