Linux OS: Incorrect Entry in hosts.allow and hosts.deny Prevents SSH Access
(Doc ID 2726450.1)
Last updated on NOVEMBER 12, 2020
Applies to:Linux OS - Version Oracle Linux 7.0 and later
Cannot login via ssh(1) after creating /etc/hosts.allow and /etc/hosts.deny files.
The steps followed to harden the system were taken from the "CIS Benchmarks for Oracle Linux 7 version 2.1.0"
Section "3.4.2 Ensure /etc/hosts.allow is configured (Scored)".
Section "3.4.3 Ensure /etc/hosts.deny is configured (Scored)".
Multiple hardening tasks were completed including the addition of /etc/hosts.allow and /etc/hosts.deny.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document