Cannot forward XWindows through ssh in AIX 5.3. - Aix
This is a discussion on Cannot forward XWindows through ssh in AIX 5.3. - Aix ; I am having a bloody hard time popping a Xwindows from a AIX
5.3 box in my ubuntu box (through ssh). At first I thought it was the
sshd-config file. I did setup the X11Forwarding line to yes and
restarted ...
-
Cannot forward XWindows through ssh in AIX 5.3.
I am having a bloody hard time popping a Xwindows from a AIX
5.3 box in my ubuntu box (through ssh). At first I thought it was the
sshd-config file. I did setup the X11Forwarding line to yes and
restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
sshd", but it seems not to have done the trick. Here is some output
from a ssh -vvvX raub@AIXBox:
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
vendor1@aixblade's password:
debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
debug3: tty_make_modes: ospeed 38400
debug3: tty_make_modes: ispeed 38400
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
[...]
debug1: Sending environment.
debug3: Ignored env SSH_AGENT_PID
debug3: Ignored env SHELL
debug3: Ignored env DESKTOP_STARTUP_ID
debug3: Ignored env TERM
debug3: Ignored env GTK_RC_FILES
debug3: Ignored env WINDOWID
debug3: Ignored env USER
debug3: Ignored env LS_COLORS
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env GNOME_KEYRING_SOCKET
debug3: Ignored env SESSION_MANAGER
debug3: Ignored env USERNAME
debug3: Ignored env PATH
debug3: Ignored env DESKTOP_SESSION
debug3: Ignored env GDM_XSERVER_LOCATION
debug3: Ignored env PWD
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env GDMSESSION
debug3: Ignored env HISTCONTROL
debug3: Ignored env SHLVL
debug3: Ignored env HOME
debug3: Ignored env GTK_RC_FILES
debug3: Ignored env WINDOWID
debug3: Ignored env USER
debug3: Ignored env LS_COLORS
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env GNOME_KEYRING_SOCKET
debug3: Ignored env SESSION_MANAGER
debug3: Ignored env USERNAME
debug3: Ignored env PATH
debug3: Ignored env DESKTOP_SESSION
debug3: Ignored env GDM_XSERVER_LOCATION
debug3: Ignored env PWD
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env GDMSESSION
debug3: Ignored env HISTCONTROL
debug3: Ignored env SHLVL
debug3: Ignored env HOME
debug3: Ignored env LANGUAGE
debug3: Ignored env GNOME_DESKTOP_SESSION_ID
debug3: Ignored env LOGNAME
debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
debug3: Ignored env LESSOPEN
debug3: Ignored env DISPLAY
debug3: Ignored env LESSCLOSE
debug3: Ignored env COLORTERM
debug3: Ignored env XAUTHORITY
debug3: Ignored env _
debug2: channel 0: request shell confirm 0
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug1: Remote: No xauth program; cannot forward with spoofing.
debug2: channel 0: rcvd adjust 131072
Last unsuccessful login: Mon Jul 23 11:49:20 CDT 2007 on ssh from
159.178.3.252
Last login: Mon Jul 23 12:59:52 CDT 2007 on /dev/pts/0 from
159.178.3.43
************************************************** *****************************
*
*
*
*
* Welcome to AIX Version
5.3! *
*
*
*
*
* Please see the README file in /usr/lpp/bos for information
pertinent to *
* this release of the AIX Operating
System. *
*
*
*
*
************************************************** *****************************
$
Any suggestions? Anyway to see if the sshd has seen my change? FYI,
I do not
have a DISPLAY defined by ssh.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 24, 8:09 am, Mauricio wrote:
> I am having a bloody hard time popping a Xwindows from a AIX
> 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> sshd-config file. I did setup the X11Forwarding line to yes and
> restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> sshd", but it seems not to have done the trick. Here is some output
> from a ssh -vvvX raub@AIXBox:
>
> debug3: remaining preferred: ,password
> debug3: authmethod_is_enabled password
> debug1: Next authentication method: password
> vendor1@aixblade's password:
> debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
> debug2: we sent a password packet, wait for reply
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug3: ssh_session2_open: channel_new: 0
> debug2: channel 0: send open
> debug1: Entering interactive session.
> debug2: callback start
> debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 2>/dev/null
> debug1: Requesting X11 forwarding with authentication spoofing.
> debug2: channel 0: request x11-req confirm 0
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 0
> debug3: tty_make_modes: ospeed 38400
> debug3: tty_make_modes: ispeed 38400
> debug3: tty_make_modes: 1 3
> debug3: tty_make_modes: 2 28
> [...]
> debug1: Sending environment.
> debug3: Ignored env SSH_AGENT_PID
> debug3: Ignored env SHELL
> debug3: Ignored env DESKTOP_STARTUP_ID
> debug3: Ignored env TERM
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env LANGUAGE
> debug3: Ignored env GNOME_DESKTOP_SESSION_ID
> debug3: Ignored env LOGNAME
> debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
> debug3: Ignored env LESSOPEN
> debug3: Ignored env DISPLAY
> debug3: Ignored env LESSCLOSE
> debug3: Ignored env COLORTERM
> debug3: Ignored env XAUTHORITY
> debug3: Ignored env _
> debug2: channel 0: request shell confirm 0
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug1: Remote: No xauth program; cannot forward with spoofing.
> debug2: channel 0: rcvd adjust 131072
> Last unsuccessful login: Mon Jul 23 11:49:20 CDT 2007 on ssh from
> 159.178.3.252
> Last login: Mon Jul 23 12:59:52 CDT 2007 on /dev/pts/0 from
> 159.178.3.43
> ************************************************** *****************************
> *
> *
> *
> *
> * Welcome to AIX Version
> 5.3! *
> *
> *
> *
> *
> * Please see the README file in /usr/lpp/bos for information
> pertinent to *
> * this release of the AIX Operating
> System. *
> *
> *
> *
> *
> ************************************************** *****************************
> $
>
> Any suggestions? Anyway to see if the sshd has seen my change? FYI,
> I do not
> have a DISPLAY defined by ssh.
I hate SSH/Xwindows, I always seem to have trouble with it too.
Besides the kill -HUP of the SSHD and "xhost +" do you have a
ls -log .X*
-rw------- 1 52 24 Jul 08:51 .Xauthority
file?
what's the output of the "set" command look like ?
besides the DISPLAY variable being set by "ssh -X" there should be
SSH_CLIENT='10.130.17.192 4904 22'
SSH_CONNECTION='10.130.17.192 4904 172.16.40.70 22'
here's the uncommented rows in my sshd (which is working ok)
egrep -v "^$|^#" /etc/ssh/sshd_config
Protocol 2
PermitRootLogin no
X11Forwarding yes
Subsystem sftp /usr/sbin/sftp-server
I assume you're got other XWindows clients working ok ?
I wonder what this line (above) means ?
debug1: Requesting X11 forwarding with authentication spoofing.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 24, 8:09 am, Mauricio wrote:
> I am having a bloody hard time popping a Xwindows from a AIX
> 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> sshd-config file. I did setup the X11Forwarding line to yes and
> restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> sshd", but it seems not to have done the trick. Here is some output
> from a ssh -vvvX raub@AIXBox:
>
> debug3: remaining preferred: ,password
> debug3: authmethod_is_enabled password
> debug1: Next authentication method: password
> vendor1@aixblade's password:
> debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
> debug2: we sent a password packet, wait for reply
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug3: ssh_session2_open: channel_new: 0
> debug2: channel 0: send open
> debug1: Entering interactive session.
> debug2: callback start
> debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 2>/dev/null
> debug1: Requesting X11 forwarding with authentication spoofing.
> debug2: channel 0: request x11-req confirm 0
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 0
> debug3: tty_make_modes: ospeed 38400
> debug3: tty_make_modes: ispeed 38400
> debug3: tty_make_modes: 1 3
> debug3: tty_make_modes: 2 28
> [...]
> debug1: Sending environment.
> debug3: Ignored env SSH_AGENT_PID
> debug3: Ignored env SHELL
> debug3: Ignored env DESKTOP_STARTUP_ID
> debug3: Ignored env TERM
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env LANGUAGE
> debug3: Ignored env GNOME_DESKTOP_SESSION_ID
> debug3: Ignored env LOGNAME
> debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
> debug3: Ignored env LESSOPEN
> debug3: Ignored env DISPLAY
> debug3: Ignored env LESSCLOSE
> debug3: Ignored env COLORTERM
> debug3: Ignored env XAUTHORITY
> debug3: Ignored env _
> debug2: channel 0: request shell confirm 0
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug1: Remote: No xauth program; cannot forward with spoofing.
> debug2: channel 0: rcvd adjust 131072
> Last unsuccessful login: Mon Jul 23 11:49:20 CDT 2007 on ssh from
> 159.178.3.252
> Last login: Mon Jul 23 12:59:52 CDT 2007 on /dev/pts/0 from
> 159.178.3.43
> ************************************************** *****************************
> *
> *
> *
> *
> * Welcome to AIX Version
> 5.3! *
> *
> *
> *
> *
> * Please see the README file in /usr/lpp/bos for information
> pertinent to *
> * this release of the AIX Operating
> System. *
> *
> *
> *
> *
> ************************************************** *****************************
> $
>
> Any suggestions? Anyway to see if the sshd has seen my change? FYI,
> I do not
> have a DISPLAY defined by ssh.
see here
http://taosecurity.blogspot.com/2006...is-one-of.html
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
Are you running ssh server that comes with AIX?
I had problems with it, and I compiled OpenSSH on my system.
Try using "ssh -Y" instead of "ssh -X".
While stranded on information super highway Mauricio wrote:
> I am having a bloody hard time popping a Xwindows from a AIX
> 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> sshd-config file. I did setup the X11Forwarding line to yes and
> restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> sshd", but it seems not to have done the trick. Here is some output
> from a ssh -vvvX raub@AIXBox:
>
> debug3: remaining preferred: ,password
> debug3: authmethod_is_enabled password
> debug1: Next authentication method: password
> vendor1@aixblade's password:
> debug3: packet_send2: adding 64 (len 59 padlen 5 extra_pad 64)
> debug2: we sent a password packet, wait for reply
> debug1: Authentication succeeded (password).
> debug1: channel 0: new [client-session]
> debug3: ssh_session2_open: channel_new: 0
> debug2: channel 0: send open
> debug1: Entering interactive session.
> debug2: callback start
> debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 2>/dev/null
> debug1: Requesting X11 forwarding with authentication spoofing.
> debug2: channel 0: request x11-req confirm 0
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 0
> debug3: tty_make_modes: ospeed 38400
> debug3: tty_make_modes: ispeed 38400
> debug3: tty_make_modes: 1 3
> debug3: tty_make_modes: 2 28
> [...]
> debug1: Sending environment.
> debug3: Ignored env SSH_AGENT_PID
> debug3: Ignored env SHELL
> debug3: Ignored env DESKTOP_STARTUP_ID
> debug3: Ignored env TERM
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env GTK_RC_FILES
> debug3: Ignored env WINDOWID
> debug3: Ignored env USER
> debug3: Ignored env LS_COLORS
> debug3: Ignored env SSH_AUTH_SOCK
> debug3: Ignored env GNOME_KEYRING_SOCKET
> debug3: Ignored env SESSION_MANAGER
> debug3: Ignored env USERNAME
> debug3: Ignored env PATH
> debug3: Ignored env DESKTOP_SESSION
> debug3: Ignored env GDM_XSERVER_LOCATION
> debug3: Ignored env PWD
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env GDMSESSION
> debug3: Ignored env HISTCONTROL
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env LANGUAGE
> debug3: Ignored env GNOME_DESKTOP_SESSION_ID
> debug3: Ignored env LOGNAME
> debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
> debug3: Ignored env LESSOPEN
> debug3: Ignored env DISPLAY
> debug3: Ignored env LESSCLOSE
> debug3: Ignored env COLORTERM
> debug3: Ignored env XAUTHORITY
> debug3: Ignored env _
> debug2: channel 0: request shell confirm 0
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug1: Remote: No xauth program; cannot forward with spoofing.
> debug2: channel 0: rcvd adjust 131072
> Last unsuccessful login: Mon Jul 23 11:49:20 CDT 2007 on ssh from
> 159.178.3.252
> Last login: Mon Jul 23 12:59:52 CDT 2007 on /dev/pts/0 from
> 159.178.3.43
> ************************************************** *****************************
> *
> *
> *
> *
> * Welcome to AIX Version
> 5.3! *
> *
> *
> *
> *
> * Please see the README file in /usr/lpp/bos for information
> pertinent to *
> * this release of the AIX Operating
> System. *
> *
> *
> *
> *
> ************************************************** *****************************
> $
>
> Any suggestions? Anyway to see if the sshd has seen my change? FYI,
> I do not
> have a DISPLAY defined by ssh.
>
--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: NoJunkMailshah@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
Mauricio schrieb:
> I am having a bloody hard time popping a Xwindows from a AIX
> 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> sshd-config file. I did setup the X11Forwarding line to yes and
> restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> sshd", but it seems not to have done the trick.
> Any suggestions? Anyway to see if the sshd has seen my change? FYI,
> I do not
> have a DISPLAY defined by ssh.
>
On my 5.3 box the /etc/ssh/sshd_config has:
XAuthLocation /usr/bin/X11/xauth
X11Forwarding yes
on the clients /etc/ssh/ssh_config has:
ForwardX11 yes
ForwardX11Trusted yes
With this setup I can tunnel X11 windows from
AIX 5.3 => AIX 5.2 => firewall => ISP/DSL => Mac OS X @ home
with a simple "ssh ". The DISPLAY variable
should not be set explicitly, but should look like "localhost:11.0" or so.
I use only standard OpenSSH/SSL from the IBM delivered media.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
Mauricio writes:
> I am having a bloody hard time popping a Xwindows from a AIX
> 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> sshd-config file. I did setup the X11Forwarding line to yes and
> restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> sshd", but it seems not to have done the trick. Here is some output
> from a ssh -vvvX raub@AIXBox:
>
> debug3: remaining preferred: ,password
> debug3: authmethod_is_enabled password
> debug3: Ignored env DISPLAY
> debug3: Ignored env LESSCLOSE
> debug3: Ignored env COLORTERM
> debug3: Ignored env XAUTHORITY
> debug3: Ignored env _
> debug2: channel 0: request shell confirm 0
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
This looks to be the problem. You probably didn't install the file set
that contains xauth.
> debug1: Remote: No xauth program; cannot forward with spoofing.
> debug2: channel 0: rcvd adjust 131072
--
#include /* I don't speak for IBM ... */
/* Heck, I don't even speak for myself */
/* Don't believe me ? Ask my wife :-) */
Richard D. Latham lathamr@us.ibm.com
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 23, 9:53 pm, lath...@us.ibm.com (Richard D. Latham) wrote:
> Mauricio writes:
> > I am having a bloody hard time popping a Xwindows from a AIX
> > 5.3 box in my ubuntu box (through ssh). At first I thought it was the
> > sshd-config file. I did setup the X11Forwarding line to yes and
> > restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc -s
> > sshd", but it seems not to have done the trick. Here is some output
> > from a ssh -vvvX raub@AIXBox:
>
> > debug3: remaining preferred: ,password
> > debug3: authmethod_is_enabled password
>
>
>
> > debug3: Ignored env DISPLAY
> > debug3: Ignored env LESSCLOSE
> > debug3: Ignored env COLORTERM
> > debug3: Ignored env XAUTHORITY
> > debug3: Ignored env _
> > debug2: channel 0: request shell confirm 0
> > debug2: fd 3 setting TCP_NODELAY
> > debug2: callback done
> > debug2: channel 0: open confirm rwindow 0 rmax 32768
>
> This looks to be the problem. You probably didn't install the file set
> that contains xauth.
>
> > debug1: Remote: No xauth program; cannot forward with spoofing.
> > debug2: channel 0: rcvd adjust 131072
>
>
>
I thought so too, but xauth seems to be around;
$ which xauth
/usr/bin/X11/xauth
$
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 23, 6:34 pm, Hemant Shah wrote:
> Are you running ssh server that comes with AIX?
> I had problems with it, and I compiled OpenSSH on my system.
>
> Try using "ssh -Y" instead of "ssh -X".
>
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Tue, 24 Jul 2007 05:53:05 -0700, Mauricio wrote:
> On Jul 23, 9:53 pm, lath...@us.ibm.com (Richard D. Latham) wrote:
>> Mauricio writes:
>> > I am having a bloody hard time popping a Xwindows from a AIX
>> > 5.3 box in my ubuntu box (through ssh). At first I thought it was the
>> > sshd-config file. I did setup the X11Forwarding line to yes and
>> > restarted the sshd (you know, using "stopsrc -s sshd" and "startsrc
>> > -s sshd", but it seems not to have done the trick. Here is some
>> > output from a ssh -vvvX raub@AIXBox:
>>
>> > debug3: remaining preferred: ,password debug3: authmethod_is_enabled
>> > password
>>
>>
>>
>> > debug3: Ignored env DISPLAY
>> > debug3: Ignored env LESSCLOSE
>> > debug3: Ignored env COLORTERM
>> > debug3: Ignored env XAUTHORITY
>> > debug3: Ignored env _
>> > debug2: channel 0: request shell confirm 0 debug2: fd 3 setting
>> > TCP_NODELAY
>> > debug2: callback done
>> > debug2: channel 0: open confirm rwindow 0 rmax 32768
>>
>> This looks to be the problem. You probably didn't install the file set
>> that contains xauth.
>>
>> > debug1: Remote: No xauth program; cannot forward with spoofing.
>> > debug2: channel 0: rcvd adjust 131072
>>
>>
>>
> I thought so too, but xauth seems to be around;
>
> $ which xauth
> /usr/bin/X11/xauth
> $
Under later Service Packs, we have found that the system loses 'xauth'.
I have had to explicitly point the sshd daemons at it via the line:
XAuthLocation /usr/bin/X11/xauth
in the /etc/ssh/sshd_config file. Once that is done and sshd is
restarted, then I can do XForwarding again.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 24, 10:08 am, "F. Michael Orr" wrote:
>
> Under later Service Packs, we have found that the system loses 'xauth'.
> I have had to explicitly point the sshd daemons at it via the line:
>
> XAuthLocation /usr/bin/X11/xauth
>
> in the /etc/ssh/sshd_config file. Once that is done and sshd is
> restarted, then I can do XForwarding again.
Hmm, I just tried that and this time also restarted sshd by doing /etc/
rc.d/rc2.d/Ssshd stop/start (just to see if that makes a difference
compared to "stopsrc -s sshd" and "startsrc -s sshd"). Still no dice.
=(
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
Another interesting update: I have no problems forwarding Xwindows
applications from my AIX 5.1 box.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
Sorry for the double (or is it triple now?) but we are running openssh
(old version though but I did not install it):
[aixblade:/etc/ssh] ssh -V
OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005
[aixblade:/etc/ssh]
openssh is also being run in my 5.1 box, though even older:
$ ssh -V
OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
$
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Wed, 25 Jul 2007 10:32:28 -0700, Mauricio wrote:
> Sorry for the double (or is it triple now?) but we are running openssh
> (old version though but I did not install it):
>
> [aixblade:/etc/ssh] ssh -V
> OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 [aixblade:/etc/ssh]
>
> openssh is also being run in my 5.1 box, though even older:
>
> $ ssh -V
> OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f $
4.3p2 is the version we run under 5.3, TL5, SP6.
When you cycle ssh, make explicitly sure it comes down 100%. For
example, I cannot run 'refresh -s sshd'. I have to explicitly 'stopsrc -
s sshd' and 'startsrc -s sshd'.
Also, if the problem persists, connect from the client with 'ssh -vvv'.
It is mostly gibberish, but sometimes it gives you an important clue as
to what the problem is.
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 25, 6:41 am, Mauricio wrote:
> On Jul 24, 10:08 am, "F. Michael Orr" wrote:
>
>
>
> > Under later Service Packs, we have found that the system loses 'xauth'.
> > I have had to explicitly point the sshd daemons at it via the line:
>
> > XAuthLocation /usr/bin/X11/xauth
>
> > in the /etc/ssh/sshd_config file. Once that is done and sshd is
> > restarted, then I can do XForwarding again.
>
> Hmm, I just tried that and this time also restarted sshd by doing /etc/
> rc.d/rc2.d/Ssshd stop/start (just to see if that makes a difference
> compared to "stopsrc -s sshd" and "startsrc -s sshd"). Still no dice.
> =(
does this file exist ?
/usr/bin/X11/xauth
I'm a bit confused by null output from
lslpp -w /usr/bin/X11/xauth
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
On Jul 26, 5:32 am, Mauricio wrote:
> Sorry for the double (or is it triple now?) but we are running openssh
> (old version though but I did not install it):
>
> [aixblade:/etc/ssh] ssh -V
> OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005
> [aixblade:/etc/ssh]
>
> openssh is also being run in my 5.1 box, though even older:
>
> $ ssh -V
> OpenSSH_2.9.9p2, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
> $
what does this show for you ?
lslpp -l X11.apps.config
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
X11.apps.config 5.3.0.40 COMMITTED AIXwindows
Configuration
Applications
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
....
> I'm a bit confused by null output from
> lslpp -w /usr/bin/X11/xauth
/usr/bin/X11 is a link to /usr/lpp/X11/bin/
$ lslpp -w \*xauth
....
/usr/lpp/X11/bin/xauth X11.apps.config
hth
Hajo
-
Re: Cannot forward XWindows through ssh in AIX 5.3.
I had the problem with just ONE customer. I simply reinstalled SSH not
using sshd included in the Linux Toolbox. I downloaded a new copy from
the IBM site.