Help with SSH2 and tunneling X?

Mark Peoples hondaman@mainex1.asu.edu
Thu, 01 Jun 2000 15:54:16 -0700


Perhaps it's because I was using putty...hmm...maybe I'll look into that
some time

-----Original Message-----
From: Kevin Buettner [mailto:kev@primenet.com]
Sent: Thursday, June 01, 2000 1:31 PM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: Re: Help with SSH2 and tunneling X?


On Jun 1,  1:16pm, Mark Peoples wrote:

> I think you hit the nail on the head earlier...I think you may need to do
> some funky nat stuff...I tried to do the same thing, but gave up after a
few
> hours. Essentially, I was trying to ssh to a machine here at work from one
> of my workstations at home (1 is linux, 1 is nt, 1 is 2k)...none worked.
The
> display variable is set automagically on the target machine. However, I
> don't think it could quite figure out how to go through the firewall on
the
> way back...

But it shouldn't have to figure out how to go through the firewall. 
The DISPLAY variable should be set to the name (or IP address) of the
remote machine that you're logged into.  The display number is
adjusted to be something unused on the remote machine.  ssh sets up a
tunnel connecting this port on the remote machine to your display on
your local machine.  It also runs xauth for you.  It could be the case
that ssh on either your end or the remote end has X forwarding
disabled.  Also, I've seen a case where X forwarding appears to be
enabled, but attempting to start an X application doesn't work because
of wrong authentication.  (I haven't spent much time investigating why
though.)

_______________________________________________
Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss