[wellylug] rsync question(s)

Cliff Pratt enkidu at cliffp.com
Wed Nov 15 20:23:43 NZDT 2006


John Durham wrote:
> Cliff Pratt wrote:
>> John Durham wrote:
>>> I have rsysnc installed under windows XP on the same network as my 
>>> ubuntu server. The function of the windows utility seems to be to 
>>> create a batch file which can be run from the command prompt (please 
>>> correct me on that if needed). It was a pleasant surprise to see it 
>>> attempting to make a connection. To make a log story short, it 
>>> produced the following message: The remote path must start with a 
>>> module name not a /
>>> rsync error: error starting client-server protocol (code 5) at 
>>> main.c(1296) [sender=2.6.8]
>>> Terminating server channel ...
>>>
>>> Can anyone explain this so I can get to the next step please?
>> >
>> Do you want to post the bat file? Right click it and open it with 
>> notepad..
>>
>> Cheers,
>>
>> Cliff
>>
>>
> Ok, here it is:
> 
> @ECHO OFF
> SET SECHAW_IDENTITY="316839"
> SET SECHAW_TYPE=ssh
> SET SECHAW_LOCALPORT=9119
> SET SECHAW_SERVER=ubuntu
> SET SECHAW_SERVERPORT=873
> SET SECHAW_USER=SvcwRsync
> SET SECHAW_CMD="D:\Program Files\cwRsync\bin\rsync.exe"  -t 
> d:\Web_Pages\New_Webstuff\*.html 
> rsync://SvcwRsync@localhost:9119//home/johndurh/Website/modecideas.com
> SET SECHAW_TUNNEL=ssh -i "316839" -L 9119:127.0.0.1:873 SvcwRsync at ubuntu 
> -T -N
> "D:\Program Files\cwRsync\bin\sechaw.exe" --verbose
> 
Bugger! I'd hoped that it would be obvious. You are apparently running 
cygwin on the box.

Mmm, one strange thing is that the env variables SECHAW_* all appear to 
be duplicated in the SECHAW_TUNNEL variable. sechaw is the secure 
channel wrapper, which I don't know of anything of, but someone else might.

You might like to start a cygwin shell and run an ssh tunnel and rsync 
from there first.

Cheers,

Cliff




More information about the wellylug mailing list