SV-285316r1211176_rule
V-285316
SRG-OS-000106-GPOS-00053
WN25-SH-000040
CAT I
10
To configure the system, add or modify the following line in the "$env:ProgramData/ssh/sshd_config" file:
PermitEmptyPasswords no
Restart the OpenSSH service for the settings to take effect.
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify system remote access using OpenSSH prevents logging on with a blank password with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*PermitEmptyPasswords'
PermitEmptyPasswords no
If the "PermitEmptyPasswords" keyword is set to "yes", is missing, or is commented out, this is a finding.
V-285316
False
WN25-SH-000040
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify system remote access using OpenSSH prevents logging on with a blank password with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*PermitEmptyPasswords'
PermitEmptyPasswords no
If the "PermitEmptyPasswords" keyword is set to "yes", is missing, or is commented out, this is a finding.
M
5719