still it is prompting the password if we do ssh node2 date
from node 1 ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/u01/ora_home/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /u01/ora_home/.ssh/id_rsa. Your public key has been saved in /u01/ora_home/.ssh/id_rsa.pub. The key fingerprint is: e6:63:c9:71:fe:d1:8f:71:77:70:97:25:2a:ee:a9:33 local1@vzhost1c $ cd /u01/ora_home/.ssh $ cat id_rsa.pub >> authorized_keys $ chmod 600 authorized_keys $ scp authorized_keys node2:/u01/ora_home/.ssh
Now (from node1) add the generated keys to the ~/.ssh/authorized_keys file
ssh-keygen –t rsa (Enter twice) ssh-keygen –t dsa (Enter twice)
Then from node1 SSH to node2 twice and add the .rsa and .dsa keys to the “authorized_keys” file that locates in the first node:
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
Now copy the “authorized_keys” file from node1 to node2:
ssh node2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys ssh node2 cat ~/.ssh/id_dsa.pub >> ~/.ssh/authorized_keys
This should resolve your issue. If you feel that your question has been answered, then please close the thread by providing appropriate points and marking it as answered.
scp ~/.ssh/authorized_keys node2:~/.ssh/authorized_keys
ins-40906 duplicate host name found in the node information table for oracle clusterware installI suspect that at the time of adding the cluster configuration, you might have added node1 which was already available.