How to configure WinSCP with SSH proxy

1

1

I'm trying to configure WinSCP for use with a proxy so that I can Login to my site (I'm trapped behind a corporate firewall). I'm trying to follow the directions of https://www.javahotchocolate.com/notes/winscp.html to tunnel through a proxy and connect to an EC2 instance with WinSCP.

From the directions in the article I have set the proxy settings like so:

enter image description here

But I am confused as to how to set the tunnel settings. I tried the same info but got:

Proxy error: 403 forbidden

user61629

Posted 2015-04-02T16:56:45.467

Reputation: 375

1It'd be cool if you could select @martin-prikryl answer if it led you to a solution. – Worp – 2019-07-31T10:34:59.033

Answers

3

It seems that you are using target server (EC2) details for proxy settings.

It should be the other way around. Use your corporate proxy details for proxy settings and use your target server details on the Login dialog.

Moreover, you mention that you want to use an SSH proxy, what is commonly called an SSH tunnel. The tunnel has separate page on Advanced Site Settings dialog.

See also the WinSCP guide to Connecting to FTP/SFTP server which can be accessed via another server only.

Martin Prikryl

Posted 2015-04-02T16:56:45.467

Reputation: 13 764