oops, might want that link:
http://www.dbaclick.com/mo
Main Topics
Browse All TopicsHi,
During the installation of Oracle RAC 10g Release 2, OUI needs to copy files to and execute programs on the other nodes in the cluster. In order to allow OUI to do that, I must configure SSH2 to allow user equivalence. Establishing user equivalence with SSH2 provides a secure means of copying files and executing programs on other nodes in the cluster without requiring password prompts. After i had performed the below steps, when i "ssh2 oracle@serverA or B" i still prompt me for password. Anyone know where could have go wrong?
Thank You.
Below are the steps that i had performed:
#Both Node
mkdir ~/.ssh2
chmod 755 ~/.ssh2
ssh-keygen2 -t rsa
ssh-keygen2 -t dsa
#First Node
cat ~/.ssh2/id_rsa_2048_a.pub >> ~/.ssh2/authorized_keys
cat ~/.ssh2/id_dsa_2048_a.pub >> ~/.ssh2/authorized_keys
ssh2 oracle@serverA cat ~/.ssh2/id_rsa_2048_a.pub >> ~/.ssh2/authorized_keys
ssh2 oracle@serverA cat ~/.ssh2/id_dsa_2048_a.pub >> ~/.ssh2/authorized_keys
chmod 644 ~/.ssh/authorized_keys
#Second Node
cat ~/.ssh2/id_rsa_2048_a.pub >> ~/.ssh2/authorized_keys
cat ~/.ssh2/id_dsa_2048_a.pub >> ~/.ssh2/authorized_keys
ssh2 oracle@serverB cat ~/.ssh2/id_rsa_2048_a.pub >> ~/.ssh2/authorized_keys
ssh2 oracle@serverB cat ~/.ssh2/id_dsa_2048_a.pub >> ~/.ssh2/authorized_keys
chmod 644 ~/.ssh2/authorized_keys
#Both Node
exec ssh-agent2 $SHELL
/opt/ssh2/bin/ssh-add2
#Both Node
ssh2 oracle@serverB
ssh2 oracle@serverA
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
oops, might want that link:
http://www.dbaclick.com/mo
What OS are you running?
Generally your ssh settings all live under ~/.ssh
Doing ssh-keygen will create a .ssh directory for you if it doesn't exist.
I assume you have two ssh versions on your server if you are using ssh2 and ssh-keygen2, so perhaps .ssh2 is appropriate for your ssh version.
Generally, the most important factor is the permissions. Make sure ~/.ssh2 has perms of 700. Additionally, sometimes the home directory needs to have minimum perms of 755.
Hi,
As requested, pease refer to below:
serverB /appl/users/oracle10g >ssh2 -v oracle@slasun03
debug: SshConfig/sshconfig.c:3072
debug: SshConfig/sshconfig.c:3364
debug: Ssh2/ssh2.c:1759/main: User config file not found, using defaults. (Looked for '/appl/users/oracle10g/.ss
debug: Connecting to slasun03, port 22... (SOCKS not used)
debug: Ssh2Transport/trcommon.c:3
debug: client supports 4 auth methods: 'hostbased,publickey,keybo
debug: Ssh2Common/sshcommon.c:588
debug: Ssh2Common/sshcommon.c:590
debug: SshConnection/sshconn.c:19
debug: SshReadLine/sshreadline.c:
debug: Remote version: SSH-2.0-3.2.9 F-SECURE SSH 3.2.3
debug: Major: 3 Minor: 2 Revision: 9
debug: Ssh2Transport/trcommon.c:1
debug: Ssh2Transport/trcommon.c:1
debug: Ssh2Transport/trcommon.c:1
debug: Remote host key found from database.
debug: Ssh2Common/sshcommon.c:380
debug: Ssh2Common/sshcommon.c:430
debug: server offers auth methods 'hostbased,password'.
debug: Ssh2AuthHostBasedClient/au
debug: SshConfig/sshconfig.c:2979
debug: Ssh2AuthHostBasedClient/au
debug: Host key pair is not specified, trying to use default 'hostkey'.
debug: SshHostKeyIO/sshhostkeyio.
debug: SshHostKeyIO/sshhostkeyio.
debug: SshSigChld/sigchld.c:238/s
debug: Ssh2AuthHostBasedClient/au
debug: Ssh2AuthHostBasedClient/au
debug: Ssh2AuthHostBasedClient/au
debug: server offers auth methods 'hostbased,password'.
debug: Ssh2AuthHostBasedClient/au
debug: Ssh2AuthClient/sshauthc.c:
debug: Ssh2AuthHostBasedClient/au
debug: ssh_pipe_stream_destroy
debug: server offers auth methods 'hostbased,password'.
debug: Ssh2AuthPasswdClient/authc
oracle's password:
This is f-secure ssh, it doesn't work with the authorized keys file.
On the client side it needs to be configured differently, I have nome access to such a system
please see page 34 in this document:
http://www.symbolic.it/dow
Business Accounts
Answer for Membership
by: mr_egyptianPosted on 2006-08-17 at 00:37:48ID: 17332207
I think you'll need to generate keys to authenticate against with ssh-keygen. Here's a link I found for Red Hat. Probably pertinent regardless...