Skip to content

The Ubuntu operating system must not allow unattended or automatic login via SSH.

An XCCDF Rule

Description

<VulnDiscussion>Failure to restrict system access to authenticated users negatively impacts Ubuntu operating system security.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-238218r877377_rule
Severity
High
References
Updated



Remediation - Manual Procedure

Configure the Ubuntu operating system to allow the SSH daemon to not allow unattended or automatic login to the system. 
 
Add or edit the following lines in the "/etc/ssh/sshd_config" file: 
 
PermitEmptyPasswords no 
PermitUserEnvironment no