About a year and a half ago, someone answered a request on how to set up rsync so that the encryption was automatically setup (wish I knew more about the technical aspects). It has been in use for the time since then and it has been great. Now I have to replace the destination computer and setting up, what I call the encryption part, is the part I have forgotten how to do. This is the command line: /usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/ Is there anyone who can translate what I am trying to do? Todd -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
Todd Cary wrote:> About a year and a half ago, someone answered a request on how to set > up rsync so that the encryption was automatically setup (wish I knew > more about the technical aspects). It has been in use for the time > since then and it has been great. Now I have to replace the > destination computer and setting up, what I call the encryption part, > is the part I have forgotten how to do. This is the command line: > > /usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/ > > Is there anyone who can translate what I am trying to do? > > Todd >its using a ssh server, you just need to setup SSH public keys. look up ssh-keygen. for example (random howto found by google), http://kimmo.suominen.com/docs/ssh/ ... note, that you need to use a blank 'passphrase' if you want automatic rsync sessions to run w/o user intervention.
<http://www.howtoforge.com/mirroring_with_rsync> Below is an example . it says, you issue this command to a remote machine ( 192.168.0.22) . key is loacated at root/rsync/mirror-rsync-key on your local machne. you logging to that machine as user name someuser. this account should exist on remote machine. /usr/bin/rsync -azq -e "ssh -i /root/rsync/mirror-rsync-key" someuser at 192.168.0.22/var/spool/mail/ /var/spool/mail/ for more see this http://www.howtoforge.com/mirroring_with_rsync On 1/6/07, Todd Cary <todd at aristesoftware.com > wrote:> > About a year and a half ago, someone answered a request on how to set up > rsync so that the encryption was automatically setup (wish I knew more > about the technical aspects). It has been in use for the time since > then and it has been great. Now I have to replace the destination > computer and setting up, what I call the encryption part, is the part I > have forgotten how to do. This is the command line: > > /usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/ > > Is there anyone who can translate what I am trying to do? > > Todd > > -- > Ariste Software > 2200 D Street Ext > Petaluma, CA 94952 > (707) 773-4523 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Thank you Indunil Jayasooriya -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070106/794eeacc/attachment-0001.html>