Issue #170, PR #181 thanks to @ipruteanu-sie

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-03-06 09:19:30 +00:00
parent 0f58436212
commit b31ece0ce8
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9

View file

@ -1003,11 +1003,11 @@ rhel9cis_sshd:
# This variable sets the maximum number of unresponsive "keep-alive" messages # This variable sets the maximum number of unresponsive "keep-alive" messages
# that can be sent from the server to the client before the connection is considered # that can be sent from the server to the client before the connection is considered
# inactive and thus, closed. # inactive and thus, closed.
clientalivecountmax: 0 clientalivecountmax: 3
# This variable sets the time interval in seconds between sending "keep-alive" # This variable sets the time interval in seconds between sending "keep-alive"
# messages from the server to the client. These types of messages are intended to # messages from the server to the client. These types of messages are intended to
# keep the connection alive and prevent it being terminated due to inactivity. # keep the connection alive and prevent it being terminated due to inactivity.
clientaliveinterval: 900 clientaliveinterval: 15
# This variable specifies the amount of seconds allowed for successful authentication to # This variable specifies the amount of seconds allowed for successful authentication to
# the SSH server. # the SSH server.
logingracetime: 60 logingracetime: 60