diff --git a/README.md b/README.md index 2dbd40d..e6a097a 100644 --- a/README.md +++ b/README.md @@ -574,7 +574,11 @@ SSH is a door into your server. This is especially true if you are opening ports UseDNS yes Compression no + + # TCP keepalive is spoofable (runs outside the encrypted channel) + # Use ClientAlive instead (runs inside the encrypted channel) TCPKeepAlive no + AllowAgentForwarding no PermitRootLogin no @@ -595,8 +599,8 @@ SSH is a door into your server. This is especially true if you are opening ports |Setting|Valid Values|Example|Description|Notes| |--|--|--|--|--| |**AllowGroups**|local UNIX group name|`AllowGroups sshusers`|group to allow SSH access to|| - |**ClientAliveCountMax**|number|`ClientAliveCountMax 0`|maximum number of client alive messages sent without response|| - |**ClientAliveInterval**|number of seconds|`ClientAliveInterval 300`|timeout in seconds before a response request|| + |**ClientAliveCountMax**|number|`ClientAliveCountMax 3`|maximum number of client alive messages sent without response|| + |**ClientAliveInterval**|number of seconds|`ClientAliveInterval 15`|timeout in seconds before a response request|| |**ListenAddress**|space separated list of local addresses|