Hi I'm using rsync (ver 3.0.5) to sync a local folder with a folder on a 
server using SSH and encrypted key files. It works fine on Windows 
2000/XP/2003/Vista but not Windows 2008 Server.

I get an error like the following:
"ssh XXXX_cygtls::handle_exceptions Error while dumping state (probably 
corrupted stack)
rsync connection unexpectedly closed. error in rsync protocol data stream 
(code 12)"

Here is the batch file I am running:
-------------------------
@ECHO OFF
SETLOCAL
SET CWRSYNCHOME=C:\MyFolder\Rsync
SET CYGWIN=nontsec
SET HOME=%HOMEDRIVE%%HOMEPATH%
SET CWOLDPATH=%PATH%
SET PATH=%CWRSYNCHOME%;%PATH%
rsync -v -v -r -e "ssh -v -p 2222 -i Rsync/mykeyfile.key" 
mykeyf...@xxx.xxx.xxx.xxx:/MainFolder/DataFolder/FR* 
/cygdrive/"C/MyFolder/Rsync/Import/
--------------------

Looking at the ssh.exe.stackdump file it shows there was an Access Violation 
in SSH.exe
"Exception: STATUS_ACCESS_VIOLATION at eip=00404F00
eax=00000000 ebx=00000000 ecx=00000012 edx=611688E0 esi=611021A0 
edi=0042F1A8
ebp=0022CCB8 esp=0022BE6C program=c:\MyProgramFolder\RSync\ssh.exe, pid 
6476, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022CCB8  00404F00  (0000000C, 6116B320, 010C0090, 00000000)
0022CD68  610060D8  (00000000, 0022CDA0, 61005450, 0022CDA0)
61005450  61004416  (0000009C, A02404C7, E8611021, FFFFFF48)
      5 [main] ssh 6476 _cygtls::handle_exceptions: Error while dumping 
state (probably corrupted stack)"

Could it be that SSH.exe is not compatible with Windows 2008 Server yet?

I have tried in the Admin login, shared the folders, gave all read/write 
permissions etc so I am at a loss now.

Thanks Luke. 
-- 
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

Reply via email to