Secure rsync server

Thom Paine painethom at gmail.com
Mon Nov 14 19:51:44 UTC 2005


On 11/14/05, Luc MAIGNAN <luc.maignan at winxpert.com> wrote:
>
> Hi,
>
> is there a simple way (without creating a tunnel) to parameter a ssh
> transport beetween a rsync client and a rsync server ? (while running
> as a daemon, rsync doesn't seem to accept the "-e ssh" option).
>
> Any help would be appreciated
>
> Best regards

  I use this script.

#!/bin/bash
#Rsync Backup Script

RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
RHOST=0.0.0.0 <http://0.0.0.0>
RPATH=/home/workgroup/rsync/stuff
LPATH=/home/workgroup/rsync/stuff

#Delete old notes.
rm -f /root/rsync.backup.script.text

echo `date` > /root/rsync.backup.script.text

$RSYNC -azrv --delete -e $SSH $LPATH $RHOST:$RPATH >>
/root/rsync.backup.script.text

echo `date` >> /root/rsync.backup.script.text

mail -s "Office Work Sync Report" your at email.com <
/root/rsync.backup.script.text

rm -f /root/rsync.backup.script.text

--
> -=/>Thom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20051114/0d67e9a3/attachment-0002.html 


More information about the users mailing list