Showing posts with label ssh. Show all posts
Showing posts with label ssh. Show all posts

Tuesday, April 18, 2017

ssh password less connectivity exadata

[celladmin]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/celladmin/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/celladmin/.ssh/id_rsa.
Your public key has been saved in /home/celladmin/.ssh/id_rsa.pub.
The key fingerprint is:
55:xx:yy:zz:44:21:d0:29:dc:d0:cf:06:ac:7b:14:c4 celladmin@cel01.xxx.local
The key's randomart image is:
+--[ RSA 2048]----+
|   .oXo.o.  o.   |
|    o Eo   o     |
|     o =. o      |
|    . ..++       |
|     o .S +      |
|    . .  o       |
|     .           |
|                 |
|                 |
+-----------------+

Once the key is generated verify in the folder to see the new id* files..

Now create a new file with entries of all the hostnames which you want to have ssh password less connectivity with

vi cell_group

cel01
cel02
cel03
cel04

After that run the below.. give the password of the user when prompted of the other cells

dcli -g ./cell_group -k
celladmin@cel01's password:
celladmin@cel02's password:
celladmin@cel04's password:
celladmin@cel03's password:
cel01: ssh key added
cel02: ssh key added
cel03: ssh key added
cel04: ssh key added


Repeat the same process in all the storage cells...

Featured Post

Apply Patch 22191577 latest GI PSU to RAC and DB homes using Opatch auto or manual steps

Patch 22191577: GRID INFRASTRUCTURE PATCH SET UPDATE 11.2.0.4.160119 (JAN2016) Unzip the patch 22191577 Unzip latest Opatch Version in or...