Rule version PHTN-40-000200 · STIG v2 · 2026-08-26
Automated monitoring of remote access sessions allows organizations to detect cyber attacks and ensure ongoing compliance with remote access policies by auditing connection activities.
Shipping SSH authentication events to syslog allows organizations to use their log aggregators to correlate forensic activities among multiple systems.
At the command line, run the following command to verify the running configuration of sshd:
# sshd -T|&grep -i SyslogFacility
Example result:
syslogfacility AUTHPRIV
If "syslogfacility" is not set to "AUTH" or "AUTHPRIV", this is a finding.
Navigate to and open:
/etc/ssh/sshd_config
Ensure the "SyslogFacility" line is uncommented and set to the following:
SyslogFacility AUTHPRIV
At the command line, run the following command:
# systemctl restart sshd.service