File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,23 +159,24 @@ controls:
159159 Secure Shell SHOULD be disabled completely. (3) For authentication, users SHOULD primarily
160160 use certificates instead of passwords.
161161 notes : >-
162- Section 1: this should be the default
162+ Section 1: this should be the default. We do not add the sshd_allow_only_protocol2 rule,
163+ as RHCOS ships with a openssh-server version, which doesnt support other protocols anyway.
164+ Checking for an option without effect does not provide any value.
163165 Section 2: this should be the default
164166 Section 3: The requirement says PRIMARILY use certificate, not disallow PasswordAuthentication
165- completely
167+ completely. But since the disabled root login is the default, we use this as known good.
166168 RHCOS Context: A more secure variant would be to disable SSH completely. As it is
167169 not always needed, since MachineConfigs can configure the local machine.
168170 status : automated
169171 rules :
170172 # Section 1
171173 - service_sshd_enabled
172- - sshd_allow_only_protocol2
173174 # Section 2
174175 - package_telnet-server_removed
175176 - package_telnet_removed
176177 # Section 3
177178 - sshd_disable_empty_passwords
178- - sshd_disable_root_password_login
179+ - sshd_disable_root_login
179180 - sshd_enable_pubkey_auth
180181
181182 - id : SYS.1.3.A9
You can’t perform that action at this time.
0 commit comments