AIX

AIX

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


#Power
 View Only
  • 1.  Remote: No xauth program; cannot forward with spoofing.

    Posted Thu February 08, 2007 01:30 AM

    Originally posted by: SystemAdmin


    Hello,

    trying ssh to aix 5.305 I get the following error:
    **
    debug1: Requesting X11 forwarding with authentication spoofing.
    debug1: Requesting authentication agent forwarding.
    debug1: Remote: No xauth program; cannot forward with spoofing.
    **

    X11.apps.config 5.3.0.50 COMMITTED AIXwindows Configuration

    is installed with xauth at /usr/bin/X11/xauth.

    settings in /etc/ssh/ :
    sshd_config:X11Forwarding yes
    sshd_config:X11UseLocalhost no
    Any hints ?

    Regards
    Mark
    #AIX-Forum


  • 2.  Re: Remote: No xauth program; cannot forward with spoofing.

    Posted Thu February 08, 2007 02:30 AM

    Originally posted by: SystemAdmin


    some recent Versions of the openssh package for aix come with unreasonable defaults:

    $ strings $(which sshd)|grep xauth
    ...
    /usr/contrib/bin/xauth
    Adding this line to /etc/ssh/sshd_config should solve it:
    XAuthLocation /usr/bin/X11/xauth
    #AIX-Forum


  • 3.  Re: Remote: No xauth program; cannot forward with spoofing. OK

    Posted Thu February 08, 2007 03:56 AM

    Originally posted by: SystemAdmin


    Thank you,
    that solved the problem.
    #AIX-Forum


  • 4.  Re: Remote: No xauth program; cannot forward with spoofing. OK

    Posted Fri February 16, 2007 02:24 PM

    Originally posted by: SystemAdmin


    When I added that to my sshd_config file, it still didn't work. I had to either create a ~/.ssh/config file with the XAuthLocation variable or link /usr/bin/X11/xauth to /usr/contrib/bin/xauth. Was I supposed to edit any other variables in the sshd_config file (Other than to allow forwarding) ?
    #AIX-Forum


  • 5.  Re: Remote: No xauth program; cannot forward with spoofing. OK

    Posted Wed February 21, 2007 06:19 AM

    Originally posted by: SystemAdmin


    editing sshd_config and restarting (or sending a SIGHUP to) the sshd Process should be enough.

    Regards
    #AIX-Forum