mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-27 15:33:06 +00:00
Raw cherry-pick of commits: d53e3ed350 && a84cf8f771
Signed-off-by: Pruteanu <ionut.pruteanu@siemens.com>
This commit is contained in:
parent
40bc7aa082
commit
f6c02ed010
1 changed files with 2 additions and 2 deletions
|
|
@ -998,11 +998,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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue