reduce SSH liveness check timeout to ~2 minutes

This commit is contained in:
Daniel Micay 2024-07-02 18:03:50 -04:00
parent 01201c0ece
commit 66c512b65f
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Include /etc/ssh/ssh_config.d/*.conf
IPQoS af21 af11 IPQoS af21 af11
ServerAliveInterval 60 ServerAliveInterval 60
ServerAliveCountMax 10 ServerAliveCountMax 2
TCPKeepAlive no TCPKeepAlive no
VerifyHostKeyDNS ask VerifyHostKeyDNS ask

View File

@ -102,7 +102,7 @@ TCPKeepAlive no
#PermitUserEnvironment no #PermitUserEnvironment no
#Compression delayed #Compression delayed
ClientAliveInterval 60 ClientAliveInterval 60
ClientAliveCountMax 10 ClientAliveCountMax 2
#UseDNS no #UseDNS no
#PidFile /run/sshd.pid #PidFile /run/sshd.pid
MaxStartups 4096 MaxStartups 4096