SV-270722r1067130_rule
V-270722
SRG-OS-000105-GPOS-00052
UBTU-24-400030
CAT II
10
Configure Ubuntu 24.04 LTS to use multifactor authentication for access to accounts.
Set the sshd option "PubkeyAuthentication" to "yes" in the "/etc/ssh/sshd_config" file.
PubkeyAuthentication yes
Verify the sshd daemon allows public key authentication with the following command:
$ sudo grep -r ^PubkeyAuthentication /etc/ssh/sshd_config*
/etc/ssh/sshd_config:PubkeyAuthentication yes
If "PubkeyAuthentication" is not set to "yes", is commented out, is missing, or conflicting results are returned, this is a finding.
V-270722
False
UBTU-24-400030
Verify the sshd daemon allows public key authentication with the following command:
$ sudo grep -r ^PubkeyAuthentication /etc/ssh/sshd_config*
/etc/ssh/sshd_config:PubkeyAuthentication yes
If "PubkeyAuthentication" is not set to "yes", is commented out, is missing, or conflicting results are returned, this is a finding.
M
5673