delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/11/22:47:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 11 Jul 2005 22:46:55 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: lin q <linq936 AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Can I copy file from Linux machine to Windows machine like scp?
In-Reply-To: <BAY105-F4122AB873CE69ABA391784E9DF0@phx.gbl>
Message-ID: <Pine.GSO.4.61.0507112243540.12819@slinky.cs.nyu.edu>
References: <BAY105-F4122AB873CE69ABA391784E9DF0 AT phx DOT gbl>
MIME-Version: 1.0

On Mon, 11 Jul 2005, lin q wrote:

> Hi,
>  I just tried using scp to copy files from Windows machine to Linux
> machine which are on the same LAN, it worked great.
>
>  Now I wonder if I can do things the other way round? I do not want the
> hassel of setting up SAMBA, but I just tried scp, it did not work.

Not sure what you're asking.  scp can have a remote file as either source
or destination (or both, as a matter of fact).

If you want to run the scp command from the Linux machine, you'll need to
set up sshd on Cygwin.  See /usr/share/doc/Cygwin/openssh.README around
line 104 (sorry, no better pointer -- Corinna, can we have some sections
in that file?) for details on setting it up.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019