LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-05-2003, 08:57 PM   #1
richard3403
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.

Help!

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

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

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
richard3403
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!
 
  


Reply


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 19 06-04-2013 05:13 AM
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


All times are GMT -5. The time now is 02:43 AM.

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