Help with Multiple Tunnel "Hops"

Mar 12, 2012 at 7:10 PM

I need to access a host over a secure connection from local to host2, when host 2 only accepts connections from host1

  • i am working locally on local
  • host1 is accessible to local
  • host2 only accepts connections from host1
  • I need to create a tunnel from local to host2

Effectively I want to create a "multi-hop" ssh tunnel. How can I do this? Ideally, I'd like to do this without needing to be superuser on any of the machines.

Apr 27, 2012 at 4:23 PM


Try playing with Remote Forwarded Ports (ForwardedPortRemote.cs etc). If you get it to work, could you provide sample.