newbie: rsync and ssh and password

peter lindsay plindsay at
Wed Sep 26 17:50:30 EST 2001


I've got the following command that works fine; it prompt for a password
then runs okay:

"rsync -az -e ssh

I wanted to run it as a script so put it into a file called and
chmod +x 'd it.

It runs as a script okay but still prompts for a password.

I read "man ssh" and the bit about "BatchMode" and "yes" but didn't really
follow it.

Is there quick way to implement my script please anyone ?

Many thanks,

Pete Lindsay
Peter Lindsay
School of Computer Science
University of St Andrews
St Andrews
Fife, KY16 9SS

Telephone +44 (0)1334 462824   ( Direct Line )
 Email plindsay at

More information about the rsync mailing list