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 oracle@129.xxx.xx.xx-vvv

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).





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