How to setup the Oracle user with password-less SSH

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

この記事は次に適用されます: この記事は次には適用されません: この記事は、特定の製品に関連付けられていません。 すべての製品パージョンがこの記事に記載されているわけではありません。

現象

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.
文書のプロパティ
文書番号: 000146525
文書の種類: Solution
最終更新: 21 2月 2021
バージョン:  3
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。