diff --git a/ssh/ssh_config b/ssh/ssh_config index 7168424..07b9cf4 100644 --- a/ssh/ssh_config +++ b/ssh/ssh_config @@ -4,7 +4,7 @@ Include /etc/ssh/ssh_config.d/*.conf IPQoS af21 af11 ServerAliveInterval 60 -ServerAliveCountMax 10 +ServerAliveCountMax 2 TCPKeepAlive no VerifyHostKeyDNS ask diff --git a/ssh/sshd_config b/ssh/sshd_config index cf13697..e46db0b 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -102,7 +102,7 @@ TCPKeepAlive no #PermitUserEnvironment no #Compression delayed ClientAliveInterval 60 -ClientAliveCountMax 10 +ClientAliveCountMax 2 #UseDNS no #PidFile /run/sshd.pid MaxStartups 4096