SV-258127r1155648_rule
V-258127
SRG-OS-000067-GPOS-00035
RHEL-09-611190
CAT II
10
Create a new private and public key pair that utilizes 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 the 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-258127
False
RHEL-09-611190
Note: If the system administrator demonstrates the use of an approved alternate multifactor authentication method, this requirement is not applicable.
Verify the 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
5551