Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Ubuntu Amazon EC2 instance and I am connecting through putty. I want to download a file from that machine to my local windows machine. How can I do it?

share|improve this question
up vote 2 down vote accepted

Use winscp, to download via SSH.

share|improve this answer

As Stone has suggested, you can use a Windows SCP tool to pull it from the Windows side. Or you could share the drive from the Windows side and use smbclient on the Ubuntu box to mount the windows file system, and push it from the linux side. Or you could use a USB stick.

Edit in the light of Alex's comments: he's probably right about smbclient, and the USB idea is silly (I missed the bit about the data centre). Putty also has an SCP implementation, pscp, which would do a similar job to WinSCP.

share|improve this answer
The SMB side will most likely not work, however, as this Linux server is in a Data Center and his Windows machine is NATed behind a seperate router, so unless you want to port forward SMB this would be quite long winded. – Alex Berry Jul 27 '12 at 7:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.