My Oracle Support Banner

SSH Login Fail After Add "AllowUsers" and "AllowGroups" Options on /etc/ssh/sshd_config (Doc ID 2627522.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64

Symptoms

Connecting with SSH fail after added "AllowUsers" and "AllowGroups" configuration options on /etc/ssh/sshd_config

Using Putty return the error:

Getting error : disconnected: no supported authentication methods available (server sent: publickey, gssapi-with-mic)

Changes

 Added "AllowUsers" and "AllowGroups" configuration options on /etc/ssh/sshd_config

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


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