Add/Update SSH key for a SOA CS instance

(Doc ID 2229751.1)

Last updated on AUGUST 09, 2017

Applies to:

SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

 

On : SOA CS
Unable to ssh to VM. Error message is Server Rejected Key

The scenario is public key no longer appears in the Service Console authorized_key file. It is not possible to use the service console to add a new public key to the instance. Without this we are unable to execute necessary command line requests such as viewing log files, and restarting servers. Now there is a need  to replace the missing key. Creating a replacement instance is not an option as we cannot afford the downtime nor the risk of losing and having to recreate the SOA repository.
So how to add a SSH public key for a SOA CS instance?

Solution

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