Re: SSH and X11 Forwrding query
Thanks to your recommendations (from Jacob S, John Smith, Tony
Godshall), it worked once I turned it on in /etc/ssh/sshd_config.
I must have done that when I used it before, but I've completely
forgotten. Thanks again.
On Sun, Jul 03, 2005 at 12:54:51PM +0200, John Smith wrote:
> On Sat, 2 Jul 2005 15:23:24 -0500
> Jacob S <stormspotter@6Texans.net> wrote:
> > On Sat, 2 Jul 2005 14:09:42 -0600
> > Dean Allen Provins <firstname.lastname@example.org> wrote:
> > > Hello:
> > >
> > > I have used SSH and X Forwarding successfully in the past, but since
> > > moving to Sarge, it refuses to co-operate. Either I can't
> > > read/understand the documentation or there's something new.
> > >
> > > >From work, I can ssh or scp to home using a host.domain address. At
> > > home I've added 3 lines to my .ssh/config file:
> > >
> > > Host my_work.dyndns.org
> > > User my_user
> > > ForwardX11 yes
> > >
> > > where the host address is another host.domain address that I
> > > registered with dyndns.org (great service). My user name and hostname
> > > at "my_work" are not the same as at home. Both IP addresses are
> > > correctly deduced by DNS from the host.domain's that I registered.
> > > Both hosts are behind firewalls and have private addresses
> > > (192.168.x.x).
> > >
> > > When I connect from work, the DISPLAY variable is NOT set. I've tried
> > > the command line option as well as the "config" file above.
> > >
> > > Anyone have any ideas on what I'm doing incorrectly or have knowledge
> > > of why this setup will consistently fail?
> > Do you have "X11Forwarding yes" set in /etc/ssh/sshd_config? (Make
> > sure to run "/etc/init.d/ssh restart" if you make changes to that
> > file.) The "ForwardX11 yes" line in your ~/.ssh/config file will only
> > affect _outgoing_ connections from that computer, not incoming. Plus,
> > both "ForwardX11 yes" and -X will only work if the "X11Forwarding yes"
> > line is set in the sshd_config file.
> > HTH,
> > Jacob
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact email@example.com
> Hi All,
> another thing that might be the cause of this problems is that
> xauth is not installed on the box you'r trying to connect to.
> Check with
> dpkg -l xbase-clients
> and install with
> apt-get install xbase-clients.
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
KeyID at at pgpkeys.mit.edu:11371: 0x9643AE65