diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index ba9fc8f9..066b5669 100755 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -61,3 +61,10 @@ PrintMotd no # pam does that UsePrivilegeSeparation sandbox # Default for new installations. 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