My Oracle Support Banner

OCI DB System : SSH to oracle id Fails 'Permission Denied (publickey,gssapi-keyex,gssapi-with-mic)' (Doc ID 2389489.1)

Last updated on APRIL 21, 2018

Applies to:

Oracle Database as a Service - Version N/A and later
Information in this document applies to any platform.


Created a Database system from OCI-> Database-> DB_SYSTEMS page.

User is able to ssh to d instance using  'opc' user (using private key .ppk) 

However ssh to'oracle' or any other id failed with below error.

$ ssh -i <path>/private-key-file oracle@x.x.x.x

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.