How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

July 24, 2013

Setting up tunnel in WinSCP

Filed under: Linux — admin @ 11:10 am

Hello
I know that this post is like copy paste however I wanted for me to be here. Mainly I use this site so not to search again some information . I came here and use it. Today I wanted to copy some files from server B, that I can access it only from server A. But I am on host C. So how to do it ?
Well start cmd where is your putty located and run there
putty.exe -L 3111::22

Where 3111 will be forwarded port port 22 on server B
Now on my computer C I open winscp and connect to localhost and port 3111.

That’s all .

Powered by WordPress