Skip to content

Commit

Permalink
Disable TCPKeepAlive for ssh
Browse files Browse the repository at this point in the history
This may not be safe, I will use ServerAliveCountMax and
ServerAliveInterval.
  • Loading branch information
xorcare committed Sep 7, 2024
1 parent fb88a56 commit 412372f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/.ssh/config
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ HashKnownHosts yes

# Enables TCP keep-alive to prevent connection from being dropped due to inactivity
# Default is "yes"
TCPKeepAlive yes
TCPKeepAlive no

# Verifies the remote host's IP address matches the first hostkey
# Default is "no"
Expand Down

0 comments on commit 412372f

Please sign in to comment.