Re: SSH Autologin problem

  • From: BN <bnsarma@xxxxxxxxx>
  • To: jeremiah@xxxxxxxxxxx
  • Date: Tue, 1 May 2007 22:08:18 -0400

On 5/1/07, Jeremiah Wilton <jeremiah@xxxxxxxxxxx> 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.
--
//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

Other related posts: