Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Oracle Linux 9
Services
SSH Server
Configure OpenSSH Server if Necessary
Enable Public Key Authentication
Enable Public Key Authentication
An XCCDF Rule
Details
Profiles
Prose
Enable Public Key Authentication
Medium Severity
Enable SSH login with public keys.
The default SSH configuration enables authentication based on public keys. The appropriate configuration is used if no value is set for
PubkeyAuthentication
.
To explicitly enable Public Key Authentication, add or correct the following
/etc/ssh/sshd_config
:
PubkeyAuthentication yes