STIGUI
V-215321CAT II — Medium severitySV-215321r958450_rule

AIX SSH private host key files must have mode 0600 or less permissive.

Rule version AIX7-00-003004 · STIG v3 · 2026-08-31

Discussion

If the private key is discovered, an attacker can use the key to authenticate as an authorized user and gain access to the network infrastructure.

The cornerstone of the PKI is the private key used to encrypt or digitally sign information.

If the private key is stolen, this will lead to the compromise of the authentication and non-repudiation gained through PKI because the attacker can use the private key to digitally sign documents and pretend to be the authorized user.

Both the holders of a digital certificate and the issuing authority must protect the computers, storage devices, or whatever they use to keep the private keys.

Check

Check the permissions for SSH private host key files: # ls -lL /etc/ssh/*key

The above command should yield the following output: -rw------- 1 root system 668 Jan 18 2017 /etc/ssh/ssh_host_dsa_key -rw------- 1 root system 227 Jan 18 2017 /etc/ssh/ssh_host_ecdsa_key -rw------- 1 root system 965 Jan 18 2017 /etc/ssh/ssh_host_key -rw------- 1 root system 1675 Jan 18 2017 /etc/ssh/ssh_host_rsa_key

If any file has a mode more permissive than "0600", this is a finding.

Fix

Change the permissions for the SSH private host key files: # chmod 0600 /etc/ssh/*key

Identifiers

Group ID
V-215321
Group title
SRG-OS-000067-GPOS-00035
Rule ID
SV-215321r958450_rule
Check ID
C-16519r294414_chk
Fix ID
F-16517r294415_fix