Hi,
Quick question : is there a way to make rsync use pageant to unlock keys?
Something seems flawed with rsync.
I have pageant running and keys loaded.
I can :
$ plink-ssh -l semantic foundry2.supelec.fr ls -al
total 44
drwxr-xr-x 3 semantic semantic 4096 Sep 12 2016 .
drwxr-xr-x 6 root root 4096 Aug 24 2015 ..
-rw------- 1 semantic semantic 2944 Jan 15 23:58 .bash_history
-rw-r--r-- 1 semantic semantic 220 Aug 24 2015 .bash_logout
...
$
plink-ssh is using pageant as expected without requesting to type a
password to unlock keys.
But I can't use plink-ssh in rsync:
$ rsync --debug=ALL -a -e 'plink-ssh -agent -batch' /c/Home/Org/
seman...@host.mydomain.fr:/home/semantic/popineau/
opening connection using: plink-ssh -agent -batch -l semantic
host.mydomain.fr rsync --server -logDtpre.iLsfxC --debug=ALL .
/home/semantic/popineau/ (12 args)
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226)
[sender=3.1.2]
[sender] _exit_cleanup(code=12, file=io.c, line=226): about to call exit(12)
I have not been able to circumvent this problem. I tried many ways,
including using cygnative, but with no result.
I suspect a problem in rsync or its MSYS2 port but I may have overlooked
something.
Anybody can comment on this issue?
Best regards,
Fabrice
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users