Problem with Passphrase

2 posts / 0 new
Last post
Editorant
Offline
Last seen: 9 years 9 months ago
Joined: 26.05.2013 - 19:37
Problem with Passphrase

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?

Editorant
Offline
Last seen: 9 years 9 months ago
Joined: 26.05.2013 - 19:37
Found solution: rsync -vrtz

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

Release news