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

Re: [K12OSN] automating rsync

Doug Simpson wrote:
Is it possible to automate rsync so you can transfer files between servers automatically? and have it auto-supply a password for the remote end?


K12OSN mailing list
K12OSN redhat com
For more info see <http://www.k12os.org>

I do this for backing up our various servers. I have one machine that is running Rsync as a daemon and the linux box's PUSH there updates to it. I then use autofs to mount shares on various windows machine and rsync these to the server, sort of pulling. Seems to work fine.

To do the passwordless bit have a look at this page as a start


But this page was what I used


Basically this is what you have to do

generate sshkeys on the machine you wish to rsync FROM

      ssh-keygen -t dsa -b 4096

      (just hit enter for all the questions)

      chmod 0644 ~/.ssh/id_dsa.pub

      copy ~/.ssh/id_dsa.pub to rsync server into /root/.ssh

      cat id_dsa.pub >> authorized_keys


The views expressed here are my own and not necessarily the views of Portsmouth College
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]