My Oracle Support Banner

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
Linux x86-64

Symptoms

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 "Oracle Linux 7 version 2.1.0"

Section "3.4.2  Ensure /etc/hosts.allow is configured (Scored)".

AND

Section "3.4.3  Ensure /etc/hosts.deny is configured (Scored)".

Changes

Multiple hardening tasks were completed including the addition of /etc/hosts.allow and /etc/hosts.deny.

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.