sshd_config: add ClientAliveCountMax ClientAliveInterval

This commit is contained in:
Aminda Suomalainen 2015-09-01 16:40:56 +03:00
parent 2b266ac7e2
commit 4cdf8dfe71

View File

@ -61,3 +61,10 @@ PrintMotd no # pam does that
UsePrivilegeSeparation sandbox # Default for new installations. UsePrivilegeSeparation sandbox # Default for new installations.
Banner /etc/issue.net Banner /etc/issue.net
# If the client doesn't reply to 3 "pings", connection is dead.
ClientAliveCountMax 3
# "ping" the client after 60 seconds if no data has has been received
# from it.
ClientAliveInterval 60