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/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/