views:

1022

answers:

4

Here is the scenario

I am trying to get scp access to server3, but there is only public ssh access to server 1. To ssh to server3, I have to ssh to server1, ssh to server2, then ssh to server3.

My hopeful end result would be that I could WinSCP to localhost:8022 and it will give me file access to server3.

I am trying to use ssh tunnels, but through all the tutorials and questions I have read none seem to work for this scenario.

I am using putty on Windows.

Any suggestions would be truly helpful. Thank you.

A: 

There is nicely described perl script solution here. Do read the comments on the posting too.

Read up more on SSH Agent Forwarding (referred in the perl script post comments).

nik
+1  A: 
Wesley
A: 

The answer was to reverse tunnel from server3

+2  A: 
ephemient