RE: rac user equivalence

From: Crisler, Jon <Jon.Crisler_at_usi.com>
Date: Thu, 8 Apr 2010 15:55:04 -0400
Message-ID: <56211FD5795F8346A0719FEBC0DB06750650EFED_at_mds3aex08.USIEXCHANGE.COM>



Oracle now has an automated routine for trusted SSH setup ?? That is nice.......sometimes getting this right is a real pain with all sorts of subtle errors.  

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Bobak, Mark
Sent: Wednesday, April 07, 2010 9:21 PM
To: john40855_at_gmail.com; oracle-l_at_freelists.org Subject: RE: rac user equivalence  

Ugh, it's 9:15pm, and I'm just now heading home, so, brain is a bit fried.  

First, I don't suppose you're installing 11gR2 Clusterware? If you are, there's a "SSH Connectivity" button that you click, and Oracle will set everything up for you.  

Otherwise, check the log files. Anything in /var/log/secure?  

Try starting sshd in the foreground with the '-d' option to turn on debugging, and then attempt a login.  

Hope that helps,  

-Mark  

From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of John Smith
Sent: Wednesday, April 07, 2010 7:07 PM
To: oracle-l_at_freelists.org
Subject: rac user equivalence  

Not precisely oracle, but related. Trying to set up user equivalence on redhat 5. When I ssh from node 2 to node 1, connecting as oracle, it works fine, no problems.

But when I ssh from node 1 to node 2 as oracle, it immediately closes the connection after entering the password. This happens no matter what user id I connect from to the oracle account.

I can ssh to other accounts on rac2, but not the oracle account.

ssh_config and sshd_config are identical, as are hosts.allow and hosts.deny. Anyone have any ideas?

[root_at_rac2 ssh]# ssh oracle_at_rac1

oracle_at_rac1's password:
Last login: Wed Apr 7 15:48:24 2010 from rac2
[oracle_at_rac1 ~]$

[oracle_at_rac1 ~]$ ssh oracle_at_rac2

oracle_at_rac2's password:
Connection closed by 192.168.2.223

[root_at_rac1 ~]$ ssh oracle_at_rac2

oracle_at_rac2's password:
Connection closed by 192.168.2.223

[root_at_rac1 ~]$ ssh johns_at_rac2

johns_at_rac2's password:
[johns_at_rac2 ~]$

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Apr 08 2010 - 14:55:04 CDT

Original text of this message