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
|
||||
|
||||
# Client timeout
|
||||
ClientAliveInterval 600
|
||||
ClientAliveCountMax 0
|
||||
ClientAliveInterval 60
|
||||
ClientAliveCountMax 100
|
||||
|
||||
# Compression (only after authentication)
|
||||
Compression delayed
|
||||
|
|
Loading…
Reference in a new issue