Password authentication in a script

f.collineau f.collineau at voila.fr
Mon Sep 30 12:40:01 EST 2002


Greetings,

Here is my configuration:  a rsync linux server, a rsync windows client.
I would like to run a rsync from windows in a .bat file.
The problem is that a password prompt is always shown.
I have read the archives and the man pages: i have create a rsyncd.secret like this:
rsync:thePassword

Here is my rsyncd.conf file:
[rsync]
	path=/
	uid=nobody
	gid=nobody
	auth users=rsync
	secrets file=/etc/rsyncd.secret
	

Here is my batch file on windows:
rsync251-2 -e ssh  -av rsync at 192.168.1.2:/var/www/ e:\essai

I am always asked the password !

What is the problem ?

Thanks.

Franck
------------------------------------------

Faites un voeu et puis Voila ! www.voila.fr 




More information about the rsync mailing list