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 Ubuntu 20.04
Services
SSH Server
Configure OpenSSH Server if Necessary
Disable SSH Support for User Known Hosts
Disable SSH Support for User Known Hosts
An XCCDF Rule
Details
Profiles
Prose
Disable SSH Support for User Known Hosts
Medium Severity
SSH can allow system users to connect to systems if a cache of the remote systems public keys is available. This should be disabled.
To ensure this behavior is disabled, add or correct the following line in
/etc/ssh/sshd_config.d/00-complianceascode-hardening.conf
:
IgnoreUserKnownHosts yes