Increase timeout for SSH sessions

Stll check relatively often the client is still there, but check many times so the connection stays open a decent amount of time. Especially useful for long-running commands.
This commit is contained in:
Jake Howard 2020-11-08 22:04:30 +00:00
parent f5c7c094d3
commit 2a4b3ec3e6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -25,8 +25,8 @@ AuthenticationMethods publickey
PermitRootLogin no
# Client timeout
ClientAliveInterval 600
ClientAliveCountMax 0
ClientAliveInterval 60
ClientAliveCountMax 100
# Compression (only after authentication)
Compression delayed