Hi Tim,
I am using Linux 5.6 O.S and Oracle 11gr2.
I am going to install Grid Infrastructure for 2 node cluster.
I am trying to configure SSH for user equivalency (oracle& grid),
and also i want to CHECK SSH for passwordless connectivity between these 2 nodes.
Question:-
_________
Even if i set up SSH between nodes, it is again asking password to switch between nodes.
please advice me on this.
_______________________________________________________________________________________________
I followed the following procedure.
On All the Cluster Nodes:-
____________________________
su - oracle
mkdir ~/.ssh
chmod 700 ~/.ssh
Generate the RSA and DSA keys:-
________________________________
/usr/bin/ssh-keygen -t rsa
/usr/bin/ssh-keygen -t dsa
On node1:-
_________________
touch ~/.ssh/authorized_keys
cd ~/.ssh
(a) Add these Keys to the Authorized_keys file.
cat id_rsa.pub >> authorized_keys
cat id_dsa.pub >> authorized_keys
(b) Send this file to node2.
scp authorized_keys node2:.ssh/
On node2:-
_______________________
(a) Add these Keys to the Authorized_keys file.
cd ~/.ssh
cat id_rsa.pub >> authorized_keys
cat id_dsa.pub >> authorized_keys
(b) Send this file to node1.
scp authorized_keys node1:.ssh/
On All the Nodes:-
______________________
chmod 600 ~/.ssh/authorized_keys
____________________________________________
Q:- After this set up i want to go to node2 from node1 , i expect it should automatically connect to node2
without prompting me the password . but it is still prompts me password .please advise me .
[oracle@node1~]$ ssh oracle@node2
oracle@node2's password:
please advise me.
thanks in advance.
rampa