X11-Forwarding OpenSSH 2.1.1p4 problem

Michael Schmidt schmidta at ph.tum.de
Tue Aug 8 01:31:49 EST 2000


Hi,

I have the following problem:

I have two computers. On the first RedHat 6.2 (Openssh 2.1.1) is
installed. The second is an PC with Windows NT 4.0 (SP 6) with Cygwin
and Openssh 2.1.1p4. The X-Server running on the WinNT machine is
Hummingbird Exceed 6.1 . I have activated X11-Forwarding in the
config-files on both machines.
I'm sitting in front of the WinNT machine and want to do a XSession on
the RedHat machine. Here is a screen dump:

------------------------------------------------------------------
$ ssh -v -l schmidta saturn 2>/dump
schmidta at saturn's password:
saturn $ echo $DISPLAY
saturn:10.0
saturn $ xdvi
X connection to saturn:10.0 broken (explicit kill or server shutdown).
saturn $ exit
logout

$ cat /dump
SSH Version OpenSSH_2.1.1, protocol versions 1.5/2.0.
Compiled with SSL (0x00905100).
debug: Reading configuration data /usr/local/etc/ssh_config
debug: Applying options for *
debug: Seeding random number generator
debug: ssh_connect: getuid 500 geteuid 500 anon 1
debug: Connecting to saturn [129.187.154.64] port 22.
debug: Connection established.
debug: Remote protocol version 1.99, remote software version
OpenSSH_2.1.1
Enabling compatibility mode for protocol 2.0
debug: Local version string SSH-2.0-OpenSSH_2.1.1
debug: Seeding random number generator
debug: send KEXINIT
debug: done
debug: wait KEXINIT
debug: got kexinit: diffie-hellman-group1-sha1
debug: got kexinit: ssh-dss
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: 3des-cbc,blowfish-cbc,arcfour,cast128-cbc
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
debug: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160 at openssh.com
debug: got kexinit: zlib,none
debug: got kexinit: zlib,none
debug: got kexinit: 
debug: got kexinit: 
debug: first kex follow: 0 
debug: reserved: 0 
debug: done
debug: kex: server->client 3des-cbc hmac-sha1 none
debug: kex: client->server 3des-cbc hmac-sha1 none
debug: Sending SSH2_MSG_KEXDH_INIT.
debug: bits set: 512/1024
debug: Wait SSH2_MSG_KEXDH_REPLY.
debug: Got SSH2_MSG_KEXDH_REPLY.
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: keytype ssh-dss
debug: Host 'saturn' is known and matches the DSA host key.
debug: bits set: 514/1024
debug: len 55 datafellows 0
debug: dsa_verify: signature correct
debug: Wait SSH2_MSG_NEWKEYS.
debug: GOT SSH2_MSG_NEWKEYS.
debug: send SSH2_MSG_NEWKEYS.
debug: done: send SSH2_MSG_NEWKEYS.
debug: done: KEX2.
debug: send SSH2_MSG_SERVICE_REQUEST
debug: service_accept: ssh-userauth
debug: got SSH2_MSG_SERVICE_ACCEPT
debug: authentications that can continue: publickey,password
debug: key does not exist: /.ssh/id_dsa
debug: ssh-userauth2 successfull
debug: no set_nonblock for tty fd 4
debug: no set_nonblock for tty fd 5
debug: fd 6 setting O_NONBLOCK
debug: channel 0: new [client-session]
debug: send channel open 0
debug: Entering interactive session.
debug: callback start
debug: client_init id 0 arg 0
debug: Requesting X11 forwarding with authentication spoofing.
debug: channel request 0: shell
debug: client_set_session_ident: id 0
debug: callback done
debug: channel 0: open confirm rwindow 0 rmax 32768
debug: channel 0: rcvd adjust 16384
debug: client_input_channel_open: ctype x11 rchan 2 win 4096 max 2048
connect /usr/spool/sockets/X11/0: No such file or directory
debug: failure x11
debug: callback start
debug: client_input_channel_req: rtype exit-status reply 0
debug: callback done
debug: channel 0: rcvd eof
debug: channel 0: output open -> drain
debug: channel 0: rcvd close
debug: channel 0: input open -> closed
debug: channel 0: close_read
debug: channel 0: obuf empty
debug: channel 0: output drain -> closed
debug: channel 0: close_write
debug: channel 0: send close
debug: channel 0: full closed2
debug: channel_free: channel 0: status: The following connections are
open:
  #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1)

debug: !channel_still_open.
Connection to saturn closed.
debug: Transferred: stdin 0, stdout 0, stderr 30 bytes in 59.7 seconds
debug: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.5
debug: Exit status 1

------------------------------------------------------------------------

Does anybody know, where I've done a mistake? What is wrong?
Thank you :-)

cu Michael





More information about the openssh-unix-dev mailing list