Re: Secure rsync server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11/14/05, Luc MAIGNAN <luc.maignan@xxxxxxxxxxxx> 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
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@xxxxxxxxx < /root/rsync.backup.script.text

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


--
-=/>Thom

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux