SCP from remote Linux system to Windows

3

2

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

hhh

Posted 2011-04-06T03:40:54.193

Reputation:

Answers

7

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.

http://winscp.net/eng/index.php

corsiKa

Posted 2011-04-06T03:40:54.193

Reputation: 941

This. In 2019, WinScp is still absurdly fast and easy to use. – CalendarJ – 2019-02-15T21:19:01.867

3

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.

Asaph

Posted 2011-04-06T03:40:54.193

Reputation: 983

1

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.

Michael Aaron Safyan

Posted 2011-04-06T03:40:54.193

Reputation: 2 645

On Windows, git comes with bash: you can use Git Bash to scp data from remote machines – Kresimir – 2019-12-04T15:04:39.900

0

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.

Brian Vandenberg

Posted 2011-04-06T03:40:54.193

Reputation: 504

0

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

kiltek

Posted 2011-04-06T03:40:54.193

Reputation: 125