Hi,
I use a linux root server with "private key file" + passhprase for my projects. The user root have no login with password(security reason). Login with file+passphrase working fine in windows with winscp and putty. I have for testing download cwrsync and use this command:
rsync -av -e "ssh -i /cygdrive/c/auth.ppk" root@remote-ip:/folder/ /cygwin/c/folder
"C:\auth.ppk" is my years old file for login with putty. With this command, I get this:
Enter passphrase for key '/cygdrive/c/auth.ppk':
but my passphrase is not working here. Why not? Can anybody help me here?
Found solution:
rsync -vrtz -e "ssh -i \"/cygdrive/c/Program Files (x86)/cwRsync/bin/private.ppk\"" root@ip:/folder/ /cygdrive/c/folder/
1. converted putty private key file to openssh file with puttgen (export openssh function).
2. dont use -a parameter in rsync
This links help me:
http://archives.free.net.ph/message/20121008.052322.5e3f214d.ja.html
http://www.kuplen.at/2010/07/rsync-on-windows-chown-failed-invalid-argum...