Mailinglist Archive: opensuse (2912 mails)

< Previous Next >
Re: [SLE] Using rsync
  • From: John Lamb <J.D.Lamb@xxxxxxxxxxxxxx>
  • Date: Wed, 16 Feb 2005 13:30:51 +0000
  • Message-id: <42134B0B.6010908@xxxxxxxxxxxxxx>
Susemail wrote:
I'm trying to use rsync as root on machine A to backup to machine A a test file from machine B but I'm having password problems:

rsync -avz Linux:Test/ /data1/LinuxBackup

You could try

$ rsync -avz -e ssh Linux:Test/ /data1/LinuxBackup

I use this and have no problems. Also, I tend to put a username in just to make sure I'm connecting correctly:

$ rsync -avz -e ssh Susemail@Linux:Test/ /data1/LinuxBackup

Finally, you might want to copy ~/.ssh/ on the local machine into the appropriate directory ~/.ssh/authorized_keys on Linux. This allows ssh without a password, which is convenient if you run rsync regularly.

You should not need to run rsyncd on either machine for this to work.

The authenticity of host 'linux (' can't be established.
RSA key fingerprint is 00:2a:91:f7:69:61:58:f7:c1:3f:55:14:1a:35:f0:fa.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'linux,' (RSA) to the list of known hosts.
Permission denied (publickey,keyboard-interactive).
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)

"Linux:Test" is machine B. My root and user passwords don't work here. What password should I use here? RSA?



< Previous Next >
Follow Ups