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?

1 Answer 1

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.

1
  • I was using the tunneling support however I switched the ips of the two servers. Thanks
    – Zaid Amir
    Oct 13, 2015 at 11:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .