From owner-freebsd-questions@FreeBSD.ORG Thu Jul 12 14:44:45 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A750C16A421 for ; Thu, 12 Jul 2007 14:44:45 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8308C13C458 for ; Thu, 12 Jul 2007 14:44:45 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from lilypad.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 760807FD5 for ; Thu, 12 Jul 2007 10:44:43 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by lilypad.shadypond.com (postoffice) with ESMTP id 91D50FA9BB for ; Thu, 12 Jul 2007 14:44:42 +0000 (UTC) From: Pollywog To: freebsd-questions@freebsd.org Date: Thu, 12 Jul 2007 14:44:38 +0000 References: <200707090103.49950.lists-fbsd@shadypond.com> <200707120147.11624.lists-fbsd@shadypond.com> <3ee9ca710707120659g23141d57p81918c29ebc008c9@mail.gmail.com> In-Reply-To: <3ee9ca710707120659g23141d57p81918c29ebc008c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707121444.39055.lists-fbsd@shadypond.com> Subject: Re: X11 forwarding problems in FreeBSD 6.2 - no xauth data? [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jul 2007 14:44:45 -0000 On Thursday 12 July 2007 13:59:54 Andy Greenwood wrote: > > I had this same problem recently on my server. the sshd_config man > page says that the default location for xauth is /usr/X11R6/bin/xauth, > but mine was installed as /usr/local/bin/xauth. adding > > XAuthLocation /usr/local/bin/xauth > > to my sshd_config and restarting sshd fixed it for me. Interesting, because that was the first thing I did, but it did not solve the problem. What did solve the problem was to add the same line to my /etc/ssh/ssh_config in the "Host *" section. This only fixed one side of the connection, so I can connect from the FreeBSD host to the Linux hosts. On the Linux hosts, I put XAuthLocation /usr/bin/xauth in their /etc/ssh/ssh_config files but that did not fix the problem from the Linux hosts to FreeBSD. I believe it is because of the way that OpenSSH was compiled on FreeBSD but I am not certain.