Oracle Linux : Login Rejected With Error: "sshd: User root from xxx.xxx.xx.xx not allowed because not listed in AllowUsers"

(Doc ID 2307809.1)

Last updated on SEPTEMBER 20, 2017

Applies to:

Linux OS - Version Oracle Linux 5.0 to Oracle Linux 6.9 [Release OL5 to OL6U9]
Information in this document applies to any platform.

Symptoms

On Oracle Linux O/S, some users are unable to access the server via ssh(1) or the Putty application.  Even the root user is denied.  The local error is  "Permission denied, please try again" after a valid password is entered:

 

Changes

 The file /etc/ssh/sshd_config was edited to change the sshd(8) configuration.  The intent was to allow only some users to be allowed to use an ssh(1) login.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms