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
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.
John R Pierce wrote:
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.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
John -
Thank you! Yes...that was the part that rather confusing. The step-by-step instructions took the mystery out of the process.
Todd
John -
That was EXACTLY what I was looking for...now to write it down.
I had my thinking process challenged :-) when I got an error message upon trying to copy the key from the sender to the recipient: there is a new server at the address so it's key is no longer valid. A little editing in authorized_keys was needed.
This is the problem of visiting my server every year or so (and why I like Linux - it just runs once setup!)....
Thank you again....
Todd
John R Pierce wrote:
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.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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@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@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@centos.org http://lists.centos.org/mailman/listinfo/centos