AIX

AIX

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


#Power
 View Only
  • 1.  SSH not happening

    Posted Fri February 22, 2008 11:34 AM

    Originally posted by: SystemAdmin


    Hi ,

    My idea is to disbale telnet and use SSH for AIX login

    1. I first installed ssl on my AIX box
    2. Secondly installed SSH on the box.

    I followed this procedure for six machines .( all same configration, hardware and ML

    Out of this three is working fine,

    for the other three i am not able to ssh as a normal user.
    Ssh is happening only as root user

    The ssh client software that i use is putty.

    Kindly adivse on this issue .

    Thanks and Regards,
    Ajit
    #AIX-Forum


  • 2.  Re: SSH not happening

    Posted Fri February 22, 2008 12:13 PM

    Originally posted by: IBMFORUMS


    Is there any error message?

    try to use command line ssh with verbose mode:

    ssh -v user@host

    and see where is it stuck?
    #AIX-Forum


  • 3.  Re: SSH not happening

    Posted Sat February 23, 2008 02:59 AM

    Originally posted by: SystemAdmin


    when i do the ssh -v user@host for my username and host i get the follwing error:
    getuserattr failed
    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug1: channel 0: free: client-session, nchannels 1
    Connection to freelpar closed.
    debug1: Transferred: stdin 0, stdout 0, stderr 32 bytes in 0.1 seconds
    debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 452.8
    debug1: Exit status 1
    #AIX-Forum


  • 4.  Re: SSH not happening

    Posted Sat February 23, 2008 03:28 AM

    Originally posted by: IBMFORUMS


    what is your oslevel and ML/TL?
    #AIX-Forum


  • 5.  Re: SSH not happening

    Posted Sat February 23, 2008 03:30 AM

    Originally posted by: SystemAdmin


    It is AIX 5.3 ML4
    #AIX-Forum


  • 6.  Re: SSH not happening

    Posted Sat February 23, 2008 04:23 AM

    Originally posted by: IBMFORUMS


    I think you need to upgrade to ML5 or higher.
    #AIX-Forum


  • 7.  Re: SSH not happening

    Posted Sun February 24, 2008 10:28 PM

    Originally posted by: SystemAdmin


    Hi,
    Thanks for your reply.

    But there are other lpar in ML4 which are working fine.
    Cheers,
    Ajit
    #AIX-Forum


  • 8.  Re: SSH not happening

    Posted Mon February 25, 2008 04:33 PM

    Originally posted by: IBMFORUMS


    I think this is probably a bug.
    upgrade your servers even the one that doesn't have issue. because you don't when the bug hit you.
    #AIX-Forum


  • 9.  Re: SSH not happening

    Posted Tue February 26, 2008 02:12 AM

    Originally posted by: SystemAdmin


    Hi All,

    Many thanks for your reply . I shall try and upgrade the Lpras as mentioned.

    Warm Regards,
    Ajit
    #AIX-Forum


  • 10.  Re: SSH not happening

    Posted Mon February 25, 2008 08:19 AM

    Originally posted by: Carlyle


    we have been using ssh for some years now, even before 5.1

    i have never installed ssl, only openssh

    are you using yp? make sure your primary group is made known.
    #AIX-Forum


  • 11.  Re: SSH not happening

    Posted Fri February 22, 2008 05:59 PM

    Originally posted by: SystemAdmin


    and sshd with verbose mode:

    /usr/sbin/sshd -d -d -d -d -p1974 -d
    #AIX-Forum