1.214 SLES-15-040440

Information

The SUSE operating system must not allow unattended or automatic logon via SSH.

GROUP ID: V-235032
RULE ID: SV-235032r991591

Failure to restrict system access via SSH to authenticated users negatively impacts SUSE operating system security.

Solution

Configure the SUSE operating system disables unattended or automatic logon via SSH.

Add or edit the following lines in the "/etc/ssh/sshd_config" file:

PermitEmptyPasswords no
PermitUserEnvironment no

See Also

https://workbench.cisecurity.org/benchmarks/23779