Sample scan – sign in to explain your own recommendations and import scan results.

Sample scan

acme-app-01 – read-only demonstration data

Benchmark
CIS Ubuntu Linux 22.04 LTS Benchmark
Version
v2.0.0
Profile
Level 1 – Server
Source
CIS-CAT Pro (JSON)
RecTitleLevelStatus
5.2.10Ensure SSH root login is disabledLevel 1Fail
3.5.1.1Ensure a host-based firewall is installed and enabledLevel 1Fail
1.1.2.5.1Ensure separate partition exists for /var/logLevel 2Fail
5.4.1.6Ensure periodic review of user accounts and access is performedLevel 1Review
6.2.1.1Ensure auditd package is installed and the service is enabledLevel 2Pass
2.2.1Ensure X Window System is not installedLevel 1Fail
5.2.10Level 1FailAutomatedLow impact

Ensure SSH root login is disabled

5 Access, Authentication and Authorization

Provided benchmark content – as supplied by you, unmodified
Description

The PermitRootLogin parameter specifies if the root user can log in using SSH.

Rationale

Disallowing root logins over SSH requires administrators to authenticate with an individual account, then escalate, preserving accountability.

Impact

Automation that authenticates directly as root over SSH will fail.

Audit

Run: sshd -T | grep -i permitrootlogin – verify output is 'permitrootlogin no'.

Remediation

Edit /etc/ssh/sshd_config and set: PermitRootLogin no. Restart sshd.

Prepared example – static demonstration content, not model-generated

Plain-English summary

The PermitRootLogin parameter specifies if the root user can log in using SSH.

Why it matters

Disallowing root logins over SSH requires administrators to authenticate with an individual account, then escalate, preserving accountability.

Risk if unaddressed

Disallowing root logins over SSH requires administrators to authenticate with an individual account, then escalate, preserving accountability.

Operational impact – what this may break

Only affects direct root SSH sessions. Confirm break-glass and automation accounts use named users with sudo first.

Remediation guidance

  • Edit /etc/ssh/sshd_config and set: PermitRootLogin no. Restart sshd.

Validation

Run: sshd -T | grep -i permitrootlogin – verify output is 'permitrootlogin no'.

Framework mapping

CIS Controls v8.x
CIS Control 5.4CIS Control 4.1
Cross-framework
NIST 800-53 AC-6ISO 27001 A.8.2PCI DSS 8.2.1

Common pitfalls

Not provided.