Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- RSYNC & SSH
April 7, 2005, 2:51 pm
rate this thread
I would like to use RSYNC and SSH to do the following:
Have system A connect to system B without using user name and
password, just using SSH keys.
Next system A should then take a local directory and sync it up with a
directory on system B.
Once done send an email to me indicating the results of the event,
then terminate connection.
Here is my question: i found this link http://www.jdmz.net/ssh /
Can a seasoned eye check out this link and let me know if there are
any problems with the advice given? Or can you elaborate further on
any piece of this;aditional tips, tricks, & security suggestions. I
am still new to linux and would like here other opinions about this
Thanks for reading.
Re: RSYNC & SSH
Install rsync as a daemon on B. Set up /etc/xinetd.d/rsync on B to enable
the daemon (disable=no) Set up /etc/rsync.conf on B to give a name to and
permissions for machine A to get stuff from the requested directory on B.
Set teh cron file on A to run rsync when needed
rsync -av B::name-of-request location-on-A
Since it is run on cron it will mail the output of this command (files
transfered) to whoever owns the cron job on A.
I do this every night.
- » Cloud Ace Technologies is offering Implementation Services on Cloud Computing, Cloud Serv...
- — Newest thread in » Linux Security