Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-09-2009, 04:30 AM   #1
Registered: Jan 2007
Posts: 50

Rep: Reputation: 15
problem synchronising files with linux & windows

i am trying to synchronise my linux folder with shared windows folder.
i have installed cwrsyncserver & openssh on windows machine.
i am able to synchronise from windows machine by running command
rsync --avz -e ssh /cygdrive/c/shared root@

where /cygdrive/c/shared is of windows machine & is remote linux machine.

but when i try to run rsync from linux machine
" rsync Administrator@ /root/new/"

i am getting error

rsync Administrator@ /root/new/
Administrator@'s password:
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)

Cwrsyncserver is successfully on windows machine as service with openssh."

any help ? ? ?
Old 11-09-2009, 11:48 PM   #2
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (
Posts: 1,900

Rep: Reputation: 69
man rsync:
you either use a double colon :: instead of a single colon to separate the hostname from the path, or you use an rsync:// URL.
You are doing neither - so you get an SSH attempt.


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
[SOLVED] How to access windows files & folders from Enterprise Linux Server hnpat Linux - Newbie 4 09-23-2009 05:56 AM
Synchronising Linux time to Windows 2003 PDC dess Linux - General 8 09-19-2008 12:42 AM
Synchronising two copies of one lot of files oneandoneis2 Linux - General 2 07-05-2005 08:21 AM
Bad:monitoring performance parameters in 1000+ linux desktops &time synchronising shrikeiaf Linux - General 1 05-03-2005 12:03 PM
HSaring files between Linux & Windows jhachey Linux - Newbie 12 08-25-2003 11:16 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02: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
Open Source Consulting | Domain Registration