SV-217269r646747_rule
V-217269
SRG-OS-000480-GPOS-00229
SLES-12-030151
CAT II
10
Configure the SUSE operating system disables unattended logon via SSH.
Add or edit the following lines in the "/etc/ssh/sshd_config" file:
PermitUserEnvironment no
Verify the SUSE operating system disables unattended via SSH.
Check that unattended logon via SSH is disabled with the following command:
# sudo grep -i "permituserenvironment" /etc/ssh/sshd_config
PermitUserEnvironment no
If the "PermitUserEnvironment" keyword is not set to "no", is missing completely, or is commented out, this is a finding.
V-217269
False
SLES-12-030151
Verify the SUSE operating system disables unattended via SSH.
Check that unattended logon via SSH is disabled with the following command:
# sudo grep -i "permituserenvironment" /etc/ssh/sshd_config
PermitUserEnvironment no
If the "PermitUserEnvironment" keyword is not set to "no", is missing completely, or is commented out, this is a finding.
M
4033