From 66c512b65ff742d3bbaa143c1adf8f4767f74799 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 2 Jul 2024 18:03:50 -0400 Subject: [PATCH] reduce SSH liveness check timeout to ~2 minutes --- ssh/ssh_config | 2 +- ssh/sshd_config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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