]> git.ekhem.eu.org Git - server.git/commit
[sshd] Limit the number of alive messages.
authorJakub Czajka <jakub@ekhem.eu.org>
Sun, 25 Sep 2022 17:44:41 +0000 (19:44 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Wed, 27 Sep 2023 21:57:20 +0000 (23:57 +0200)
commit69ff6c84686dce8ad95cb9379fad9f8ddef6aa38
treea6fe8cf822d6d225a8beac787c14f7af9e337efb
parent35d2248405e1977810dc2b01e13455098f1fab3e
[sshd] Limit the number of alive messages.

`sshd` keeps idle connection alive for `ClientAliveInterval` seconds
and then sends `ClientAliveCountMax` alive messages. If client does
not respond, `sshd` terminates the connection. This commit limits the
number of alive messages to 1.

Note: `ClientAliveCountMax` applies only to SSH protocol 2.
sshd/sshd_config