[KLUG Members] SSH

Jason Edward Durrett jed at shackman.com
Fri Jun 10 13:39:48 EDT 2005


> How do I forward an X connection twice?  i.e. I have a machine that's 
> in a
> private network, so I have to ssh to a router first then ssh to the 
> machine
> in question.

ssh -n -L 6000:box_inside_the_network:22  user at router_on_the_outside 
#port forwarding - go into background on connect

ssh -X localhost -p 6000 # X forwarding

This should open a shell on the machine you want and then you can start 
you xapp from there.  Once of course the ssh config files are modified.



More information about the Members mailing list