[[!comment format=mdwn
 username="https://www.google.com/accounts/o8/id?id=AItOawmCzVCPjgg_Un_114P8iiSwExms0G2csCA"
 nickname="Michele"
 subject="details about my problem"
 date="2013-10-15T23:30:26Z"
 content="""
Thank for your answer, but unfortunately the remote is already an ssh (although i agree it should happen most certainly also via samba/cifs mount). 
it happens as long as the remote is NOT defined as root login. 
I suppose it could as well be something with my setup (although i've tried different windows/linux hosts) and I have no idea how to debug it.

this is a transcript of recreating the problem (i've just edited user/hostname):
	 
	 Microsoft Windows [Version 6.1.7601]
     C:\>git init wintest
     Initialized empty Git repository in C:/wintest/.git/
     C:\>cd wintest
     C:\wintest>git annex init wintest
     init wintest
       Detected a crippled filesystem.
       Enabling direct mode.
       Detected a filesystem without fifo support.
       Disabling ssh connection caching.
     ok
     (Recording state in git...)
     C:\wintest>echo \"thisisatest\">wintest
     C:\wintest>git annex add wintest
     add wintest (checksum...) ok
     (Recording state in git...)
     C:\wintest>git remote add remote ssh://me@linuxbox/home/me/testlinux
     C:\wintest>ssh me@linuxbox
     [me@home ~]$ git init --bare testlinux
     Initialized empty Git repository in /home/me/testlinux/
     [me@home ~]$ cd testlinux/
     [me@home testlinux]$ git annex init linux
     init linux ok
     (Recording state in git...)
     [me@home testlinux]$ exit
     C:\wintest>git annex sync
     commit
     ok
     pull remote
     warning: no common commits
     remote: Counting objects: 5, done.
     remote: Compressing objects: 100% (3/3), done.
     remote: Total 5 (delta 1), reused 0 (delta 0)
     Unpacking objects: 100% (5/5), done.
     From ssh://linux/home/me/testlinux
      * [new branch]      git-annex  -> remote/git-annex
     ok
     (merging remote/git-annex into git-annex...)
     (Recording state in git...)
     push remote
     Counting objects: 18, done.
     Delta compression using up to 2 threads.
     Compressing objects: 100% (12/12), done.
     Writing objects: 100% (16/16), 1.45 KiB, done.
     Total 16 (delta 2), reused 0 (delta 0)
     To ssh://me@linux/home/michele/testlinux
      * [new branch]      git-annex -> synced/git-annex
      * [new branch]      master -> synced/master
     ok
     C:\wintest>git annex copy --to remote wintest
     copy wintest (checking remote...) (to remote...)
     wintest
               15 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
     
     rsync error: syntax or usage error (code 1) at /home/lapo/package/rsync-3.0.9-1/src/rsync-3.0.9/main.c(1052) [sender=
     total size is 15  speedup is 0.13
     failed
     git-annex: copy: 1 failed
     
     C:\wintest>
"""]]
