Skip to content

RHEL 8 must not allow users to override SSH environment variables.

An XCCDF Rule

Description

SSH environment options potentially allow users to bypass access restriction in some configurations.

ID
SV-230330r1017141_rule
Version
RHEL-08-010830
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Configure RHEL 8 to allow the SSH daemon to not allow unattended or automatic logon to the system.

Add or edit the following line in the "/etc/ssh/sshd_config" file:

PermitUserEnvironment no