Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: SSH Autologin problem

Re: SSH Autologin problem

From: BN <bnsarma_at_gmail.com>
Date: Tue, 1 May 2007 22:08:18 -0400
Message-ID: <61292a9d0705011908k2ae87e36p3eab9d08251256b0@mail.gmail.com>


On 5/1/07, Jeremiah Wilton <jeremiah_at_ora-600.net> wrote:
>
> Robert,
>
> SSH has a verbose option. Issuing ssh -v will produce more verbose
> information on connection and authentication progress. More v's will
> make it more verbose. Try 'man ssh' to show full information on ssh -v.
>
> Regards,
>
> Jeremiah Wilton
> ORA-600 Consulting
> http://www.ora-600.net
>
> Robert Freeman wrote:
> > ... I'm trying to get SSH where it will
> > sign in without a password... I
> > can't seem to get node2 to connect to node 1 without
> > using a password.
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

Here is my Notes on Setting up SSH,

1.

$ ssh-keygen2 -P # Run this on both Nodes 2. cd .ssh2

3. vi identification # Add the following line to "identification"

IdKey id_dsa_2048_a
Save and exit vi

4. sftp the *.pub from the Client to server and vice versa

 Ensure that *.pub of each servers is present in the other server .ssh2 directory

 5. Rename the *.pub file to identify where it came from

 vebhqpa1:/apps/opt/oracle/.ssh2>cp id_dsa_1024_a.pub id_dsa_1024_a_fcbhsp01.pub

 6. vi authorization # and Add the following line

 Key id_dsa_1024_a_fcbhsp01.pub # This is the file from the other server

Here is how it looks in my server:

fcbhsp01:/apps/opt/oracle/.ssh2>cat authorization

                Key     id_dsa_2048_a_vebhqpa1.pub

 vebhqpa1:/apps/opt/oracle/.ssh2>cat authorization

                    Key     id_dsa_1024_a_fcbhsp01.pub
6. chmod 644 authorization identification

  To avoid banner Screen and "authentication successful" message after the command is executed

 ihttlda1:/home/oracle/.ssh2>*cat ssh2_config*

QuietMode yes

ForwardX11 no

Hope this Helps

-- 
Regards & Thanks
BN

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 01 2007 - 21:08:18 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US