Skip to content

Commit

Permalink
Set ServerAliveCountMax explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
xorcare committed Sep 7, 2024
1 parent d8d0889 commit afef4fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/.ssh/config
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ VerifyHostKeyDNS yes
# Default is 0, which means no keep-alive messages are sent
ServerAliveInterval 60

# Sets the number of server alive messages (see below) which may be sent
# without ssh(1) receiving any messages back from the server.
# Default is 3
ServerAliveCountMax 3

# Global settings for all hosts
Host *
# Forwards environment variables LANG and LC_*
Expand Down

0 comments on commit afef4fb

Please sign in to comment.