From: Christopher Slater Subject: Re: ssh and ForwardX11 Date: Wed, 12 Mar 2003 10:42:16 -0800 (PST) Sender: linux-admin-owner@vger.kernel.org Message-ID: <20030312184216.39004.qmail@web12801.mail.yahoo.com> References: <1047489723.20278.117.camel@Zebra.vil.ite.mee.com> Mime-Version: 1.0 Return-path: In-Reply-To: <1047489723.20278.117.camel@Zebra.vil.ite.mee.com> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Paul Furness , linux-admin@vger.kernel.org Hi, Try putting the following in your sshd_config X11UseLocalhost no I think that *may* do the trick. HTH, Chris --- Paul Furness wrote: > Hi. > > I'm having a problem getting sshd to forward X11 traffic. I have 3 > boxes, A, B and C. A is outside the firewall, B is in the DMZ and C > is > inside the firewall. I want to ssh from A->B, then ssh from B->C. > Then I > want to run an X app (say xterm) on C, and get it to display on A. > > Given that the firewall cannot be changed, how do I get B to forward > X? > I can get this to work fine on 3 machines on the LAN (no firewall > involved), but it won't work through the firewall. The firewall > allows > ssh traffic only, but it will allow it either way between outside and > DMZ, and between DMZ and inside. Not direct from outside to inside, > though. > > Ssh works fine. The problem is that after connecting to B, $DISPLAY > is > empty. I have, of course, turned on X11 forwarding for all the > machines, > both for client and server programs. (And yes, I have restarted sshd > after changing the settings). > > Is there something in sshd / ssh that checks for X on the machine, > and > only forwards it if X is installed locally? Can I force it to forward > X > anyway (incidentally, "ssh -X" doesn't work)? Is it affected by the > fact > that there is no DNS available to the machine in the DMZ? > > Oh, the sshd_config and aah_config files are identical on all the > machines (they were all copied of the same machine, which is working > with X forwarding fine inside the LAN.) > > Can anyone give me any pointers? (No 'C' jokes, please... :) > > P. > > -- > Paul Furness > > Systems Manager > Visual Information Lab > Mitsubsihi Electric ITE BV > Guildford, UK > > Steepness is an illusion caused by flat things leaning over. > > - > To unsubscribe from this list: send the line "unsubscribe > linux-admin" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com