Transfer between windows and linux going wrong

Tevfik Karagülle tevfik at itefix.no
Tue Sep 30 19:14:59 GMT 2008


Cwrsync comes with an ssh client and a batch file example (cwrsync.cmd) for
proper operation.

By customizing the example file, you will be able to use ssh as tranport
provider.

Tev

> -----Original Message-----
> From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> Behalf Of Paul Slootman
> Sent: 30. september 2008 17:52
> To: rsync at lists.samba.org
> Subject: *** BREATH! spamhaus 127.0.0.11 *** Re: Transfer 
> between windows and linux going wrong
> 
> On Tue 30 Sep 2008, Bruno Guimarães Sousa wrote:
> 
> > I am running rsync 2.6.9-2etch2 protocol version 29 in a 
> Debian machine.
> > There is a Windows machine that I want to get the files 
> from debian. 
> > For that I'm using rsync for windows version 3.0.4 protocol 
> version 30
> > 
> > "C:\Program Files\cwRsync\bin\rsync.exe" -Cavz 
> root at 10.1.100.45:/root/
> > rsync: Failed to exec ssh: No such file or directory (2) 
> rsync error: 
> > error in IPC code (code 14) at pipe.c(84) [receiver=3.0.4]
> > rsync: connection unexpectedly closed (0 bytes received so far) 
> > [receiver] rsync error: error in rsync protocol data stream 
> (code 12) 
> > at io.c(632) [receiver=3.0.4]
> > 
> > The problem is the protocol version difference right? If it is, how 
> > can i
> 
> No, the problem is that you don't have any "ssh" program on 
> your windows system, and you've instructed rsync to do the 
> transfer over ssh (no -e option thus default ssh, and a 
> single colon thus not a connection to an rsync daemon).
> 
> If you configure the Debian system to run rsync as a daemon 
> (create an appropriate /etc/rsyncd.conf file, see 
> /usr/share/doc/rsync/* and edit /etc/default/rsync and do 
> /etc/init.d/rsync start), then you should be able to transfer thusly:
> 
> "C:\Program Files\cwRsync\bin\rsync.exe" -Cavz 
> 10.1.100.45::your_module_name_here/
> 
> 
> Paul Slootman
> --
> Please use reply-all for most replies to avoid omitting the 
> mailing list.
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 



More information about the rsync mailing list