Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-05-2003, 08:57 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
scp copying from Linux to windows

The syntax of scp is approximately scp first_pathname second_pathname, with each pathname including a hostname and path and filename.

How do you copy from a Linux machine to a Windows box?

I am running scp in a secure shell that has opened up a BASH shell.

I know one thing, that if you have c:\temp\file in Windows, you do c/temp/file in the scp command, but as for hostname I am stumped. I have read MAN and googled to no avail.


Old 11-06-2003, 12:50 AM   #2
LQ Newbie
Registered: Nov 2003
Posts: 13

Rep: Reputation: 0
If you wanted to scp a file to a machine with an ip of you would do:
scp file_you_wanted_to_send

As far as scp'ing a file from a linux box to a windows box, this will require you to have a ssh server running on the windows box. An alternative would be to use winscp (on the windowsbox) to grab the files from the linux box.
Old 11-06-2003, 07:31 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks! I was using putty and it comes with some other programs including pscp, which I suppose is the Windows ssh server. That explains it!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SCP: Copy file from remote linux server onto a windows machine? Tony Empire Linux - Newbie 21 09-22-2015 10:18 PM
copying files from linux to windows Nigel Robinson Linux - Newbie 11 07-27-2005 02:41 PM
SCP Copy from Linux to Windows? mhague Linux - Newbie 8 11-03-2004 01:56 PM
copying files from linux to windows jonnypop00 Linux - Newbie 2 09-17-2003 04:32 PM
copying files from windows to linux susyq78 Linux - Newbie 6 08-10-2003 09:21 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration