My Oracle Support Banner

SSH Permission denied (publickey,gssapi-keyex,gssapi-with-mic) (Doc ID 2490591.1)

Last updated on AUGUST 25, 2023

Applies to:

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

Symptoms

Keys generated using Puttygen in .ppk format will result in following error when tried with -i option ssh commandline: 

[opc@<HOST> ~]$ ssh -i deployment_key.txt opc@<IP_ADDRESS>
Enter passphrase for key 'deployment_key.txt':
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
[opc@<HOST> ~]$

Changes

 SSH keys are generated from Puttygen. ssh command doesn't recognize the PuTTY private key format.

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.