Advertisement

08.16.2006 at 09:02PM PDT, ID: 21957438
[x]
Attachment Details

Configure SSH for User Equivalence

Asked by lbinsoon in Unix Network Security Questions

Tags: equivalence, ssh, user

Hi,
   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
Start Free Trial
 
Loading Advertisement...
 
[+][-]08.17.2006 at 12:37AM PDT, ID: 17332207

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 12:45AM PDT, ID: 17332238

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 02:23PM PDT, ID: 17337763

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 06:25PM PDT, ID: 17339228

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 06:34PM PDT, ID: 17339264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 07:09PM PDT, ID: 17339413

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.17.2006 at 09:12PM PDT, ID: 17339929

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.18.2006 at 07:00AM PDT, ID: 17342380

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.20.2006 at 07:40PM PDT, ID: 17353359

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.22.2006 at 04:13AM PDT, ID: 17362578

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Unix Network Security Questions
Tags: equivalence, ssh, user
Sign Up Now!
Solution Provided By: noci
Participating Experts: 4
Solution Grade: A
 
 
[+][-]08.28.2006 at 05:07AM PDT, ID: 17403210

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]08.28.2006 at 04:05PM PDT, ID: 17408124

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.26.2006 at 03:32PM PDT, ID: 17606135

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10.13.2006 at 06:05AM PDT, ID: 17723718

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]10.17.2006 at 07:45PM PDT, ID: 17753956

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32