How to setup the Oracle user with password-less SSH

Resumen: Our charter is to deliver solutions that simplify IT by providing database solutions, custom development, dynamic datacenters, flexible computing.

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

Applies to:


Oracle Version - Applies to Oracle 10g and 11g
Platform - Applies to all Dell PowerEdge servers
Operating System - Enterprise Linux 5.x, Enterprise Linux 6.x

Problem:


How do I setup Oracle user with password-less SSH?

Solution:


In this article we will discuss how to setup your oracle user equivalence for your Oracle RAC environment.

To configure ssh for oracle user equivalence:

Assumptions:

We assume you have created and set a password for your oracle user for all your nodes within your cluster environment.

Configuration Steps:
  1. On node 1, login as the oracle user using the command:
    • # su - oracle
  2. As oracle user, run the following command to create your ssh key:
    • # ssh-keygen
  3. Enter the file in which to save the key. (we recommend using the default location)
  4. When asked for a passphrase, please leave it blank for the oracle user. Oracle requires that you have an empty passphrase in order to have the ability to have password less ssh cababilities during the installation process.
  5. As oracle user, we will now run the following command to hold private keys used for public key authentication.
    • # ssh-agent bash
  6. As oracle user, we will now run the following command to add RSA identities to the authentication agent as follows:
    • ssh-add
  7. As oracle user, we will use the ssh-copy-id utility in order to copy our public key to our other nodes within our oracle cluster using the command:
    • # ssh-copy-id oracle@nodeX.domain.com
    • where nodeX is one of nodes in your oracle clustered environment. Please repeat 7 to include all nodes within your clustered environment.
Propiedades del artículo
Número del artículo: 000146525
Tipo de artículo: Solution
Última modificación: 21 feb 2021
Versión:  3
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.