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 7
Services
SSH Server
Configure OpenSSH Server if Necessary
Disable SSH Support for .rhosts Files
Disable SSH Support for .rhosts Files
An XCCDF Rule
Details
Profiles
Prose
Disable SSH Support for .rhosts Files
Medium Severity
SSH can emulate the behavior of the obsolete rsh command in allowing users to enable insecure access to their accounts via
.rhosts
files.
The default SSH configuration disables support for
.rhosts
. The appropriate configuration is used if no value is set for
IgnoreRhosts
.
To explicitly disable support for .rhosts files, add or correct the following line in
/etc/ssh/sshd_config
:
IgnoreRhosts yes