Dear list, I'm using rsync via CYGWIN (winxp) compu to access our SUSE linux station for backup purposes. I would like to run this regularly, via BAT files, however the password stays necessary (prompt), after using a -pasword-file=/. There is no error message but password stays necessary. rsync -avzuC --delete --password-file=/cygdrive/d/test/test.txt /cygdrive/d/test/ user@hostadress:/home/janvb/test How can this be solved? Is there an error? (i.e. something with global permissions etc. I tried to solve it with set RSYNC_PASSWORD=mypassword or set RSYNC_PASSWORD=pass set CYGWIN=NTEA NTSEC but it seems not to be working Thanks in advance, Jan Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm -------------- next part -------------- HTML attachment scrubbed and removed
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3022 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20051110/14777e6c/smime.bin
On Thu, Nov 10, 2005 at 04:37:18PM +0100, Jan Verbesselt wrote:> rsync -avzuC --delete --password-file=/cygdrive/d/test/test.txt > /cygdrive/d/test/ user@hostadress:/home/janvb/testThe --password-file option is used for connecting with an rsync daemon, so it has no effect on the password prompt coming from your remote- shell. You'll need to consult the relevant docs for your remote-shell to see what options it has for authorizing a connection. E.g. ssh users can setup authorized keys as described in ssh-keygen (and perhaps use ssh-agent and possibly keychain), but other methods are also possible. ..wayne..