SV-271721r1091875_rule
V-271721
SRG-OS-000105-GPOS-00052
OL09-00-002359
CAT II
10
Configure OL 9 to accept public key authentication by adding or modifying the following line in "/etc/ssh/sshd_config".
PubkeyAuthentication yes
Restart the SSH daemon for the settings to take effect:
$ sudo systemctl restart sshd.service
Verify that OL 9 SSH daemon accepts public key encryption with the following command:
$ sudo grep -i PubkeyAuthentication /etc/ssh/sshd_config
PubkeyAuthentication yes
If "PubkeyAuthentication" is set to no, the line is commented out, or the line is missing, this is a finding.
V-271721
False
OL09-00-002359
Verify that OL 9 SSH daemon accepts public key encryption with the following command:
$ sudo grep -i PubkeyAuthentication /etc/ssh/sshd_config
PubkeyAuthentication yes
If "PubkeyAuthentication" is set to no, the line is commented out, or the line is missing, this is a finding.
M
5680