{"description": "Unless needed, SSH should not permit extraneous or unnecessary\nauthentication mechanisms. To disable PubkeyAuthentication authentication, add or\ncorrect the following line in\n\n\n<tt>/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</tt>:\n\n<pre>PubkeyAuthentication no</pre>", "rationale": "PubkeyAuthentication authentication is used to provide additional authentication mechanisms to\napplications. Allowing PubkeyAuthentication authentication through SSH allows users to\ngenerate their own authentication tokens, increasing the attack surface of the system.", "severity": "medium", "references": {}, "control_references": {}, "components": [], "identifiers": {}, "ocil_clause": "the required value is not set", "ocil": "To determine how the SSH daemon's <tt>PubkeyAuthentication</tt> option is set, run the following command:\n\n<pre>$ sudo grep -i PubkeyAuthentication /etc/ssh/sshd_config.d/00-complianceascode-hardening.conf</pre>\n\n\nIf a line indicating <tt>no</tt> is returned, then the required value is set.\n", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable PubkeyAuthentication Authentication", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/ssh/ssh_server/sshd_disable_pubkey_auth/rule.yml", "template": {"name": "sshd_lineinfile", "vars": {"parameter": "PubkeyAuthentication", "value": "no", "datatype": "string"}, "backends": {}}}