Connecting to Amazon VPC instances via WinSCP

1

1

I am looking for a way to connect to an Amazon VPC EC2 instance from WinSCP. I am able to connect to it via PuTTY by SSHing to the NAT server and then ssh to the private instance using its private IP.

However, I am not sure how to do this in WinSCP to transfer files from/to the instance.

Is this even possible?

Zaid Amir

Posted 2015-10-13T08:40:45.297

Reputation: 157

Answers

2

You can use the NAT server as an SSH tunnel.

  • Either set up a port forwarding in your PuTTY instance and connect WinSCP via that forwarding.

  • Or use a native tunneling support in WinSCP.

For details on both approaches, see WinSCP guide to connecting to SFTP server which can be accessed via another server only.

Also mentioned in WinSCP guide to Connecting securely to Amazon EC2 server with SFTP.

Martin Prikryl

Posted 2015-10-13T08:40:45.297

Reputation: 13 764

I was using the tunneling support however I switched the ips of the two servers. Thanks – Zaid Amir – 2015-10-13T11:49:26.583