Linux – pscp copy file remotely from Windows to Linux

linuxsshwindows

I need to copy file from my Windows XP system to remote Linux system.

Win location : c:\1.txt
LInux location:/tmp

What should be the command?

EDITED: pscp is recognized and OK on my PC.I CAN connect with Putty to this remote Linux PC
remote Linux name is s1,hostname is s1host

I tried transfer file with following command:

pscp C:\1.txt s1@s1host:/tmp

Got:Fatal: Network error: Connection timed out

It's not clear,is command isn't ok?

Best Answer

pscp c:\1.txt username@hostname:/tmp

Substitute username and hostname for those valid for the Linux system.

Related Question