stock ssh config problems

Rex Dieter rdieter at math.unl.edu
Wed Dec 21 16:24:00 UTC 2005


Jack Howarth wrote:
>     Is anyone else having trouble getting ssh to tunnel X11-forwarding?
> On MacOS X the following works flawlessly...
> 
> 1) Enable the Remote Login service (ssh) on remote.foo.bar
> 2) On local.foo.bar execute...
> xhost +remote.foo.bar

Not(shouldn't be?) required if using X-forwarding.  As a matter of fact, 
by manually doing this (and setting DISPLAY below), you are effectively 
disabling ssh's tunnelled X-forwarding.

> ssh -X -l username remote.foo.bar

You may want to try the -Y option for "trusted" x forwarding

> 3) once logged into remote.foo.bar via ssh execute...
> setenv DISPLAY local.foo.bar:0.0

Not(shouldn't be?) required if using X-forwarding.

-- Rex




More information about the users mailing list