From f6c02ed0106c8651a1ee60c26dfc0e3246a2776d Mon Sep 17 00:00:00 2001 From: Pruteanu Date: Wed, 21 Feb 2024 14:45:46 +0200 Subject: [PATCH] Raw cherry-pick of commits: d53e3ed350114e094322162a7984010214acb7e4 && a84cf8f7716ccd733d3b5290106d8032841cba01 Signed-off-by: Pruteanu --- defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 6cd15ce..3781469 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -998,11 +998,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