AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  SSH : connection refused.

    Posted Thu March 17, 2011 06:46 AM

    Originally posted by: SystemAdmin


    Hi guys,

    I'm new here and I really need your advice.
    After installing 3rd party software last week I'm unable to establish a ssh connection to one of our LPAR's.
    Some change where made to the resolv, named and host files. I also started up a named server and installed the required software.

    I do NOT have access to the HMC.
    Telnet connections is not allowed.

    What can I do? Please help

    The Out put of "ssh -v -v –v username@hostname" is as follows.
    "OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Failed dlopen: /usr/krb5/lib/libkrb5.a(libkrb5.a.so): 0509-022 Cannot load module /usr/krb5/lib/libkrb5.a(libkrb5.a.so).
    0509-026 System error: A file or directory in the path name does not exist.

    debug1: Error loading Kerberos, disabling Kerberos auth.
    debug2: ssh_connect: needpriv 0
    debug1: Connecting to 196.29.254.171 http://196.29.254.171 port 22.
    debug1: Connection established.
    debug1: permanently_set_uid: 0/0
    debug1: identity file /.ssh/identity type -1
    debug1: identity file /.ssh/id_rsa type -1
    debug1: identity file /.ssh/id_dsa type -1
    ssh_exchange_identification: Connection closed by remote host"

    Kind regards
    Henk
    #AIX-Forum


  • 2.  Re: SSH : connection refused.

    Posted Thu March 17, 2011 07:27 AM

    Originally posted by: SystemAdmin


    the answer ist blowing in the... sshd server log
    #AIX-Forum


  • 3.  Re: SSH : connection refused.

    Posted Thu March 17, 2011 08:00 AM

    Originally posted by: SystemAdmin


    hey, yeah. If only I can get into the server. :(
    #AIX-Forum


  • 4.  Re: SSH : connection refused.

    Posted Thu March 17, 2011 11:30 AM

    Originally posted by: SystemAdmin


    now what is it?

    are you authorized to use the server, then you should be able to talk to the server administrator and have him look into the server log, grepping for your client ip at least.

    how do you manage to use this forum without help from a grown-up?
    #AIX-Forum


  • 5.  Re: SSH : connection refused.

    Posted Fri March 18, 2011 05:03 PM

    Originally posted by: SystemAdmin


    Are you trying to use ssh_keys? I think AIX is trying to use a wrong key, to log in without password, are not finding the correct one.

    Can you log using ftp or sftp?
    Tancredi
    #AIX-Forum