Re: rsync over ssh

2002-04-11 Thread Eric Sisler
epending on the ownership of the source data, but are useful if you want to make sure you aren't prevented from retrieving any files. 'man rsyncd.conf' for more details. I use both methods (rsync as a daemon and rsync over ssh) for a variety of purposes and have found rsync

Re: rsync over ssh

2002-04-11 Thread Ian Truelsen
Søren Neigaard writes: > Hi > > If I use the following command manually: > > /usr/bin/rsync --rsh=/usr/bin/ssh -aurvlq --delete /projects/ > MY_IP_ADDRESS:/projects > > I get asked for the root password, and "projects" gets syncronized :) > > But how do I do this from a bash shell script

rsync over ssh

2002-04-11 Thread Søren Neigaard
Hi If I use the following command manually: /usr/bin/rsync --rsh=/usr/bin/ssh -aurvlq --delete /projects/ MY_IP_ADDRESS:/projects I get asked for the root password, and "projects" gets syncronized :) But how do I do this from a bash shell script, so that it automatic uses the root password?