My Oracle Support Banner

OCI - Unable To Connect With OPC User To Oracle Cloud Compute Instance With Error "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" (Doc ID 2713609.1)

Last updated on SEPTEMBER 29, 2020

Applies to:

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

Symptoms

Unable to connect to instance getting error "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" when login in with opc user

Changes

Created a new user and added the following to /etc/ssh/sshd_config file

AllowUsers <USER>

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.