Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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'm on ssh accessing my user account at school. I'm trying to download a particular file from my linux account to my current windows file system that Im on right now. Can i use scp? If yes Id really appreciate if you could give an example of how to download a file from a remote server to windows

share|improve this question

migrated from Apr 6 '11 at 4:02

This question came from our site for professional and enthusiast programmers.

WinSCP has windows binding for the scp protocol. I haven't used it in a long time, but I recall it being easy to use.

share|improve this answer

You won't find scp or ssh natively on Windows. But you can always download WinSCP and Putty, respectively if you find yourself in need of some *nix goodness on Windows.

share|improve this answer

Assuming you have scp installed on your Windows machine, you can use:

scp username@remotehost:~/path/to/remote/file ~/path/to/local/file

If you don't have scp installed, you can use Cygwin to install SCP for Windows.

share|improve this answer

Install cygwin. It has an ssh and scp client. You'll have to initiate the copy from windows, but it'll work.

Alternatively, it might be possible to install an ssh daemon with cygwin, but I've never explored that.

share|improve this answer

Install PSCP on your Windows machine by placing it inside your Windows folder (where notepad.exe is located), open the Windows Command line (cmd) and enter:

pscp urlToYourRemoteLinuxMachine:pathToYourFile pathToLocalWindowsMachineFile
share|improve this answer

You must log in to answer this question.