mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-26 05:09:23 +01:00
sshd_config: add ClientAliveCountMax ClientAliveInterval
This commit is contained in:
parent
2b266ac7e2
commit
4cdf8dfe71
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user