git uses environment variable GIT_SSH to determine SSH client.
I set it to plink.exe because I extensively use pageant infrastructure and do NOT want to have 2 systems lying around.
Unfortunately git-annex seems to ignore that.
Even worse, it results in unpredicted behavior because the git part works (e.g. clone) whereas annex/rsync does not resulting in half-ok repositories without meaningful error messages.
It only becomes evident when ssh.exe in the git repository is deleted.
### What steps will reproduce the problem?
Set %GIT_SSH% and remove ssh.exe
You will get
git-annex: ssh: createProcess: does not exist (No such file or directory)
failed
git-annex: drop: 1 failed
### What version of git-annex are you using? On what operating system?