Skip to content

The Photon operating system must protect sshd configuration from unauthorized access.

An XCCDF Rule

Description

The "sshd_config" file contains all the configuration items for sshd. Incorrect or malicious configuration of sshd can allow unauthorized access to the system, insecure communication, limited forensic trail, etc.

ID
SV-256581r991589_rule
Version
PHTN-30-000112
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

At the command line, run the following commands:

# chmod 600 /etc/ssh/sshd_config
# chown root:root /etc/ssh/sshd_config