SV-281326r1184637_rule
V-281326
SRG-OS-000067-GPOS-00035
RHEL-10-701240
CAT II
10
Configure RHEL 10, for PKI-based authentication, enforces authorized access to the corresponding private key.
Create a new private and public key pair that uses a passcode with the following command:
$ sudo ssh-keygen -N [passphrase]
Note: If the system administrator demonstrates the use of an approved alternate multifactor authentication method, this requirement is not applicable.
Verify RHEL 10 SSH private key files have a passcode.
For each private key stored on the system, use the following command:
$ sudo ssh-keygen -y -f /path/to/file
The expected output is a password prompt:
"Enter passphrase:"
If the password prompt is not displayed, and the contents of the key are displayed, this is a finding.
V-281326
False
RHEL-10-701240
Note: If the system administrator demonstrates the use of an approved alternate multifactor authentication method, this requirement is not applicable.
Verify RHEL 10 SSH private key files have a passcode.
For each private key stored on the system, use the following command:
$ sudo ssh-keygen -y -f /path/to/file
The expected output is a password prompt:
"Enter passphrase:"
If the password prompt is not displayed, and the contents of the key are displayed, this is a finding.
M
5733