ssh config: add ServerAliveCountMax

This commit is contained in:
Aminda Suomalainen 2015-09-01 15:54:05 +03:00
parent 359a4becb8
commit 2b266ac7e2

View File

@ -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