Update fot the previous mail:

The ssh_config with "ForwardX11 no" option listed below if part of the
ssh_config file from the target host, not source one. I suppose I should
be able to forward the X11 data to any client, where this is set to "yes",
but I'm not. The ssh_config file on the target host seems to be irrelevant
to my problem. Sorry for the multivalent statement in my previous mail.

BR,

  David Komanek



---------- Forwarded message ----------
Date: Fri, 23 Mar 2001 19:23:02 +0100 (MET)
From: David Komanek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: OpenSSH and X11 forwardig problems


Dear SSH(D) gurus,

I' have compiled OpenSSH on various boxes: tru64 4.0d, RH Linux 6.0, SGI
IRIX 6.5. Everything seems to work well, except X11-Forwarding. Sure, I
have it on in config files:

sshd_config:
  X11Forwarding yes
  X11DisplayOffset 10
  XAuthLocation /usr/bin/X11/xauth

ssh_config:
  ForwardAgent yes
  ForwardX11 no
  XAuthLocation /usr/bin/X11/xauth

On some machines it works well. On one of the tru64 boxes and one RH Linux
box I got the following message, when I try to start X-Windows application
(i.e. xterm):

# xterm
channel 0: istate 4 != open
channel 0: ostate 64 != open
X connection to prfdec:11.0 broken (explicit kill or server shutdown).
#

Using ssh in debug mode:

xterm
debug: Received X11 open request.
debug: fd 6 setting O_NONBLOCK
debug: fd 6 IS O_NONBLOCK
debug: channel 0: new [X11 connection from 195.113.56.1 port 2598]
debug: X11 connection uses different authentication protocol.
debug: X11 rejected 0 i1/o16
debug: channel 0: read failed
debug: channel 0: input open -> drain
debug: channel 0: close_read
debug: channel 0: input: no drain shortcut
debug: channel 0: ibuf empty
debug: channel 0: input drain -> wait_oclose
debug: channel 0: send ieof
debug: channel 0: write failed
debug: channel 0: output open -> wait_ieof
debug: channel 0: send oclose
debug: channel 0: close_write
debug: X11 closed 0 i4/o64
debug: channel 0: rcvd ieof
debug: channel 0: non-open
channel 0: istate 4 != open
channel 0: ostate 64 != open
debug: channel 0: rcvd oclose
debug: channel 0: input wait_oclose -> closed
X connection to prfdec:12.0 broken (explicit kill or server shutdown).


As far as I can see, there is something about "different authentication
protocol". Please, how should I understand this message and what is the
workaround for this ?

Thanks a lot for your comments.

BR,

  David Komanek
  Charles University
  Prague
  CZ

  


Reply via email to