fix for #419, thank you @aaronk1

Signed-off-by: Frederick Witty <frederick.witty@gotyto.com>
This commit is contained in:
Frederick Witty 2026-01-08 12:23:40 -05:00
parent 87cd0f3eb5
commit 22a9b085d7
No known key found for this signature in database
GPG key ID: 0CFA99C02DE4D8C3

View file

@ -431,6 +431,8 @@
path: "{{ rhel9cis_sshd_config_file }}"
regexp: (?i)^(#|)\s*MaxStartups
line: 'MaxStartups {{ rhel9cis_ssh_maxstartups }}'
insertbefore: "^Match"
firstmatch: true
validate: sshd -t -f %s
notify: Restart sshd