[Techtalk] X forwarding via proxy

Carlo Hamalainen ch at uqconnect.net
Sat Oct 5 08:59:12 EST 2002


Hi,

On Fri, 4 Oct 2002, Isabelle HURBAIN wrote:
> I've got a little problem...
> I have to access a computer outside my private network with an X
> forwarding via a proxy :
>
> me| telnet  <=> proxy| ssh  <=> distant computer| telnet
>   | ssh                                         | ssh
>
> but I have absolutely no idea of how to do it - as it is difficult to
> "export DISPLAY" to a private network... (with masquerading)
> I have a decent control of the proxy (it is my boyfriend's computer ;) ).

I may me missing something, but won't doing a normal ssh give you the X
forwarding you need, even if it is behind a proxy?

I believe that X11 forwarding isn't on by default (in OpenSSH anyway), so
you'd need to have these lines in /etc/ssh/ssh_config:

   ForwardAgent yes
   ForwardX11 yes

and similar in sshd_config as well.

Is that OK or did I miss something?

The other followup to this post had mention of using 'xhost', but that
shouldn't be necessary with a properly setup ssh thing.

-- Carlo




More information about the Techtalk mailing list