My Oracle Support Banner

ODA: SSH Error While Attempting To Use oakcli: "Error in authorized_keys" file has more than one line OR "failed to set up ssh for usr" grid or oracle or root (Doc ID 2041882.1)

Last updated on JANUARY 05, 2017

Applies to:

Oracle Database Appliance X3-2 - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance X4-2 - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance X5-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
SSH
oakcli
patching
authorized_keys

Symptoms

Problems with SSH while issuing an ODA OAKCLI command including:

INFO   : Logging all actions in /opt/oracle/oak/onecmd/tmp/STEP-12-20150728155934.log and traces in /opt/oracle/oak/onecmd/tmp/STEP-12-20150728155934.trc
INFO   : Loading configuration file /opt/oracle/oak/onecmd/onecommand.params...
INFO   : Creating nodelist files...
INFO   : 2015-07-28 15:59:35
INFO   : Step 12  SetupSSHusers
INFO   : Setting up ssh for users...
INFO   : setting up ssh for user grid...
ERROR  : failed to set up ssh for usr grid    <<<<<<
INFO   : Time in SetupSSHusers is 20 seconds.

 

Other possible scenarios where SSH problems can occur  include:

Note: There are other sources for SSH connection problems on the ODA

Document : 1568647.1 - How to reconfig ssh user equivalence Setup Post-Installation on ODA
Document : 1555600.1 - ODA GI Update Failed ERROR: Failed when creating tmp/cleaning ssh directory on Nod
Document : 1923446.1 - ODA: ERROR : Failed To Set Up Ssh For User Oracle
Document : 2003316.1 - ODA: SSH Errors During oakcli Patching, Upgrades, Deployment, Core Key Application or Creating Oracle Databases

 

Changes

 Almost always after the successful deployment of the ODA

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.