[wellylug] rsync question(s)

Cliff Pratt enkidu at cliffp.com
Fri Nov 17 19:08:47 NZDT 2006


John Durham wrote:
> Cliff Pratt wrote:
>>> 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.
> 
>> I'm not familiar with what you call cygwin. The program is called 
>> cwRsync. The batch file was created by its wizard function. Perhaps 
>> I'm mistaken, but suspect that the IDENTITY may need to be a file 
>> name/location where the private key is. That is because there is a 
>> button by it that allows a file to be located and selected for that 
>> field. It is intended for ssh operation. For now, that's all I can 
>> tell you. The rest of the data is in the batch file.
 >>

cwRsync = c(yg)w(in) Rsync

If you did not install CygWin, cwRsync must have installed at least part 
of CygWin.

I'd say you were correct, the SECHAW_IDENTITY env variable should be a 
file.

Cheers,

Cliff




More information about the wellylug mailing list