From owner-freebsd-questions Tue Dec 4 16:20:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from square.cnd.mcgill.ca (square.CND.McGill.CA [132.206.114.119]) by hub.freebsd.org (Postfix) with ESMTP id 3EC4637B417 for ; Tue, 4 Dec 2001 16:20:25 -0800 (PST) Received: (from mat@localhost) by square.cnd.mcgill.ca (8.9.3/8.9.3) id TAA93119 for freebsd-questions@freebsd.org; Tue, 4 Dec 2001 19:20:24 -0500 (EST) (envelope-from mat) Date: Tue, 4 Dec 2001 19:20:24 -0500 From: Mathew Kanner To: freebsd-questions@freebsd.org Subject: x11 ssh forwarding 'uses different protocol' Message-ID: <20011204192024.A92765@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hey Group, (The search engine seems to be down so I looked manually over the past few month and couldn't find anything). I just reinstalled freebsd in a lab that I support and X11 forwarding from ssh doesn't seem to work anymore. The client and servers are 4.4-RELEASE and X is XFree86-4.1.0_10 built out of the ports about a week or so ago. Each machine has the exact same version. When I try to do X11 forwarding this is what I get (trimmed verbose output appended) You can see that I have X11 forwarding enable on both the ssh client and server. I now have some very students :( Any help would be greatly appreciated. --Mat bash-2.05$ slogin -v XXXX.XXX.XXXXXX.XX SSH Version OpenSSH_2.3.0 FreeBSD localisations 20010713, protocol versions 1.5/2.0. Compiled with SSL (0x0090601f). debug: Reading configuration data /etc/ssh/ssh_config debug: Applying options for * debug: ssh_connect: getuid 1001 geteuid 1001 anon 1 debug: Connecting to XXXX.XXX.XXXXXX.XX [XXX.XXX.XXX.XXX] port 22. debug: Connection established. debug: Remote protocol version 1.99, remote software version OpenSSH_2.3.0 FreeBSD localisations 20010713 debug: match: OpenSSH_2.3.0 FreeBSD localisations 20010713 pat ^OpenSSH[-_]2\.3 debug: Local version string SSH-1.5-OpenSSH_2.3.0 FreeBSD localisations 20010713 debug: Waiting for server public key. debug: Received server public key (768 bits) and host key (1024 bits). debug: Host 'XXXX.XXX.XXXXXX.XX' is known and matches the RSA host key. debug: Encryption type: 3des debug: Sent encrypted session key. debug: Installing crc compensation attack detector. debug: Received encrypted confirmation. debug: Doing password authentication. mat@XXXX.XXX.XXXXXX.XX's password: debug: Requesting pty. debug: Requesting X11 forwarding with authentication spoofing. debug: Requesting shell. debug: Entering interactive session. Last login: Tue Dec 4 19:13:02 from XX.XX.XXX.XXX Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.4-RELEASE (GENERIC) #0: Tue Sep 18 11:57:08 PDT 2001 Welcome to FreeBSD! You have mail. mat@XXXX$ xeyes debug: Received X11 open request. debug: fd 4 setting O_NONBLOCK debug: fd 4 IS O_NONBLOCK debug: channel 0: new [X11 connection from XXXX.XXX.XXXXXX.XX port 1660] debug: X11 connection uses different authentication protocol. debug: X11 rejected 0 i1/o16 [..] debug: X11 closed 0 i4/o64 [...] X connection to XXXX.XXX.XXXXXX.XX:11.0 broken (explicit kill or server shutdown). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message