How to SSH tunnel 2 times?

Advertisement

akari
Joined:
Posts:
5

How to SSH tunnel 2 times?

I know we can set the Host to setup tunnel on the Tunnel option, and then ssh to the host.
so the flow will be : 125.252.xx.xx --> 192.168.30.4
But there is another server need ssh from 192.168.30.4
The flow will be : 125.252.xx.xx --> 192.168.30.4 --> 10.168.41.52
Is it possible I can connect to 10.168.41.52 using WinSCP?

Sorry for bad english..

Reply with quote

Advertisement

akari
Joined:
Posts:
5

Re: How to SSH tunnel 2 times?

Is there any example how to use Plink as a proxy command?
125.252.xx.xx --> 192.168.30.4 --> 10.168.41.52
so it will be
125.252.xx.xx set in the proxy tab and 192.168.30.4 set into the tunnel tab?

Try to put this in the local proxy command but fail:
D:\putty\plink.exe -ssh username@125.252.xx.xx -pw password -P 22

Reply with quote

Advertisement

You can post new topics in this forum