From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 10:24:14 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 888921065672 for ; Fri, 22 Aug 2008 10:24:14 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from smtp.teledomenet.gr (smtp.teledomenet.gr [213.142.128.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3F8DC8FC1F for ; Fri, 22 Aug 2008 10:24:14 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: by smtp.teledomenet.gr (Postfix, from userid 58) id 4C131142118; Fri, 22 Aug 2008 13:24:13 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on smtp.teledomenet.gr X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no version=3.2.5 Received: from iris.teledomenet.local (unknown [192.168.1.71]) by smtp.teledomenet.gr (Postfix) with ESMTP id BA423142093; Fri, 22 Aug 2008 13:23:43 +0300 (EEST) From: Nikos Vassiliadis To: Roberto Nunnari Date: Fri, 22 Aug 2008 13:25:50 +0300 User-Agent: KMail/1.9.7 References: <48AADA2A.10803@supsi.ch> <48AE8DC0.1050603@supsi.ch> <48AE9095.4030904@supsi.ch> In-Reply-To: <48AE9095.4030904@supsi.ch> X-NCC-RegID: gr.telehouse MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808221325.50898.nvass@teledomenet.gr> Cc: freebsd-questions@freebsd.org Subject: Re: X11 tunnel over ssh and then rsh 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: Fri, 22 Aug 2008 10:24:14 -0000 On Friday 22 August 2008 13:10:29 Roberto Nunnari wrote: > >> Automatically? No. > >> You can however use ssh to create generic TCP tunnels, using > >> -R and -L. But this is much more complicated than remembering > >> a DISPLAY variable. > > Wait! I found a possible workaround.. it seams that setting > X11UseLocalhost = no > on sshd_config tell sshd to bind the X11 forwarding server > to the wildcard address.. Aha that seems to do the job. Oddly enough OpenSSH supports selffootshooting :) Didn't expect it to... Cheers, Nikos