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:
parent
f5c7c094d3
commit
2a4b3ec3e6
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ AuthenticationMethods publickey
|
||||||
PermitRootLogin no
|
PermitRootLogin no
|
||||||
|
|
||||||
# Client timeout
|
# Client timeout
|
||||||
ClientAliveInterval 600
|
ClientAliveInterval 60
|
||||||
ClientAliveCountMax 0
|
ClientAliveCountMax 100
|
||||||
|
|
||||||
# Compression (only after authentication)
|
# Compression (only after authentication)
|
||||||
Compression delayed
|
Compression delayed
|
||||||
|
|
Loading…
Reference in a new issue