My Oracle Support Banner

OCI Cannot connect with 'oracle' user "Server refused our key" or "Permission denied (publickey,gssapi-keyex,gssapi-with-mic)" (Doc ID 2409609.1)

Last updated on JUNE 14, 2018

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.


login as: oracle
Server refused our key




$ ssh -i privateKeyCloud

gives :

debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).





To view full details, 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 a vibrant support community of peers and Oracle experts.