mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
ssh config: add ServerAliveCountMax
This commit is contained in:
parent
359a4becb8
commit
2b266ac7e2
@ -27,8 +27,12 @@ Host *
|
|||||||
# Always try public key authentication
|
# Always try public key authentication
|
||||||
PubkeyAuthentication yes
|
PubkeyAuthentication yes
|
||||||
|
|
||||||
# "ping" the server every minute, if it doesn't reply in three
|
# If the server doesn't reply in "three" pings, connection is dead.
|
||||||
# "pings", disconnect.
|
# Defaults to 3 anyway, but I add it here for clearity and
|
||||||
|
# in case it decides to change in the future.
|
||||||
|
ServerAliveCountMax 3
|
||||||
|
|
||||||
|
# "ping" the server every minute.
|
||||||
ServerAliveInterval 60
|
ServerAliveInterval 60
|
||||||
|
|
||||||
# Verify SSHFP records. In case DNSSEC is used this skips the
|
# Verify SSHFP records. In case DNSSEC is used this skips the
|
||||||
|
Loading…
Reference in New Issue
Block a user