[Followups set to COLN]
In comp.os.linux.networking Sourin <(E-Mail Removed)> wrote:
> My computer at work is behind a firewall. So, when I need to connect
> to it I have to ssh to hostA (firewall), which upon successful
> authorization, it connects me directly to hostB on my office network.
So you've told it to run ssh in your .bash_profile or similar? Icky.
> If -X option is used with ssh, hostB tries to set its DISPLAY variable
> to hostA's display, which fails.
The display variable should be untouched, and when displayed, it should
be like localhost:10. Make sure you are net setting DISPLAY anywhere in
your login scripts.
From your home machine, try doing the following. You might like to have
a look at my sshmh program, which you can find on my website.
ssh -CAXt user@hostA ssh -AXt user@hostB
This is most easily done if you have SSH keys set up.
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!