SV-248532r958450_rule
V-248532
SRG-OS-000067-GPOS-00035
OL08-00-010100
CAT II
10
Create a new private and public key pair that uses a passcode with the following command:
$ sudo ssh-keygen -n [passphrase]
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
If the contents of the key are displayed, this is a finding.
V-248532
False
OL08-00-010100
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
If the contents of the key are displayed, this is a finding.
M
5416