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:
- On node 1, login as the oracle user using the command:
- As oracle user, run the following command to create your ssh key:
- Enter the file in which to save the key. (we recommend using the default location)
- 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.
- As oracle user, we will now run the following command to hold private keys used for public key authentication.
- As oracle user, we will now run the following command to add RSA identities to the authentication agent as follows:
- 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.