Re: slightly OT: passwordless ssh and Clusterware
From: Jared Still <jkstill_at_gmail.com>
Date: Thu, 25 Jul 2013 17:12:54 -0700
Message-ID: <CAORjz=P92GGu3D941fQUReZJ4uoiFsUCiWZrwd74eVNQmXCJMw_at_mail.gmail.com>
On Thu, Jul 25, 2013 at 1:23 PM, Lyall Barbour <lyallbarbour_at_sanfranmail.com
> wrote:
> ssh from node1 to node2 works good, going from node2 to node1 works good.
> But ssh from node1 to node1 or node2 to node2 doesn't work. Apparently 10g
> didn't truely care about this, but 11g OUI definitely needs it. anybody
> know how to really set this up? I've been Googling and ready Oracle docs
> all days. Delete .ssh directories, running ssh-keygen and running
> ssh-copy-id, sometimes i get one server to work fine, sometimes the other
> server works, sometimes both do not work. Is there an order?
Date: Thu, 25 Jul 2013 17:12:54 -0700
Message-ID: <CAORjz=P92GGu3D941fQUReZJ4uoiFsUCiWZrwd74eVNQmXCJMw_at_mail.gmail.com>
On Thu, Jul 25, 2013 at 1:23 PM, Lyall Barbour <lyallbarbour_at_sanfranmail.com
> wrote:
> ssh from node1 to node2 works good, going from node2 to node1 works good.
> But ssh from node1 to node1 or node2 to node2 doesn't work. Apparently 10g
> didn't truely care about this, but 11g OUI definitely needs it. anybody
> know how to really set this up? I've been Googling and ready Oracle docs
> all days. Delete .ssh directories, running ssh-keygen and running
> ssh-copy-id, sometimes i get one server to work fine, sometimes the other
> server works, sometimes both do not work. Is there an order?
Compare the public keys between nodes, they are probably different .( only 1 node is up on my RAC right now so cannot check)
Here is one simple method to fix it.
node1:
append to the end of ~/.ssh/authorized_keys the value of the public key
from the same directory
this will be a file called either id_rsa.pub or id_dsa.pub, but probably an
RSA key.
node2:
do the same as on node 1
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
Oracle Blog: http://jkstill.blogspot.com
Home Page: http://jaredstill.com
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Jul 26 2013 - 02:12:54 CEST