22 Oct
2005
22 Oct
'05
02:41
On Thursday 13 October 2005 17:37, Jerry Westrick wrote:
After following the thread and being pointed out my misunderstandings I think this is what you want:
ssh -L 26:green-server.inside.net:22 user@red-net.domian.com
This will ssh to the router, and setup a port forward to ssh on green-server.inside.net. Now you can
ssh -p 26 another-user@red-net.domian.com through the tunnel...
scp will also work...
I think you'll find that second command should be: ssh -p 26 another-user@localhost You'll also not be able to use port 26 as a regular user, as it is privileged, so replace 26 with something > 1024, i.e. 2222 if you are a regular user. -- Steve Boddy