AIX

 View Only
  • 1.  Critical : Password less ssh failed

    Posted Mon August 11, 2008 02:27 AM

    Originally posted by: prinav


    I am facing the critical issue with password less ssh on AIX boxes:

    When I try to login from one server to another server (RSA key enabled) without passord it shows the following message:

    ssh 10.14.5.143
    Connection to 10.14.5.143 closed by remote host.
    Connection to 10.14.5.143 closed.

    however it works fine if RSA key not enabled.

    Please suggest the solution


  • 2.  Re: Critical : Password less ssh failed

    Posted Mon August 11, 2008 05:38 AM

    Originally posted by: tony.evans


    Try running both the server and client with more information turned on.

    For the client,

    ssh -v

    Run the server manually from the command line if you can using

    sshd -d

    That should give you plenty of text to start understanding the issue.


  • 3.  Re: Critical : Password less ssh failed

    Posted Tue August 12, 2008 02:32 AM

    Originally posted by: prinav


    dear Tony,

    Thanks for initiative, however no abnormal things i found.

    bash-2.04# sshd -d
    debug1: sshd version OpenSSH_3.8.1p1
    debug1: read PEM private key done: type RSA
    debug1: private host key: #0 type 1 RSA
    debug1: read PEM private key done: type DSA
    debug1: private host key: #1 type 2 DSA
    debug1: Bind to port 22 on 0.0.0.0.
    Bind to port 22 on 0.0.0.0 failed: Address already in use.
    Cannot bind any address.


  • 4.  Re: Critical : Password less ssh failed

    Posted Tue August 12, 2008 03:40 AM

    Originally posted by: tony.evans


    You didn't stop the existing demon.

    You have to,

    1. stop sshd
    2. run sshd from the command line with -d
    3. and then run the client command with -v to connect

    Then you'll get your debugging information.