From b31ece0ce8a4e3d500b1a2445be934aec95b67f8 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Wed, 6 Mar 2024 09:19:30 +0000 Subject: [PATCH] Issue #170, PR #181 thanks to @ipruteanu-sie Signed-off-by: Mark Bolwell --- defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 43671f3..5735e85 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1003,11 +1003,11 @@ rhel9cis_sshd: # 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 # inactive and thus, closed. - clientalivecountmax: 0 + clientalivecountmax: 3 # 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 # 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 # the SSH server. logingracetime: 60