rsync not working for me

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue May 20 17:10:59 UTC 2008


On Sat, May 17, 2008 at 03:01:30PM -0400, chris-n/jUll39koHNgV/OU4+dkA at public.gmane.org wrote:
> I just got a refurbished computer with ubuntu 8.04 installed. I \'m trying 
> to use rsync -a to copy files from my backup to this machine. What am I 
> doing wrong? 
> 
> administrator at administrator-desktop:~$ sudo rsync -a 
> 192.168.0.3:/bckupdrv/docs2bckup
> [sudo] password for administrator:
> Read from socket failed: Connection reset by peer
> rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
> rsync error: unexplained error (code 255) at io.c(454) [receiver=2.6.9]
> administrator at administrator-desktop:~$ sudo rsync -a 
> 192.168.0.3:/bckupdrv/docs2bckup /home/administrator
> Read from socket failed: Connection reset by peer
> rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
> rsync error: unexplained error (code 255) at io.c(454) [receiver=2.6.9]
> administrator at administrator-desktop:~$ ping 192.168.0.3
> PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
> 64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=0.422 ms
> 64 bytes from 192.168.0.3: icmp_seq=2 ttl=64 time=0.416 ms
> 64 bytes from 192.168.0.3: icmp_seq=3 ttl=64 time=0.334 ms 
> 
> Both machines have openssh-client and openssh-server installed. 

Does the target machine permit ssh as root?

Can you even do 'sudo ssh 192.168.0.3'?  If not, then there is no way
rsync can run over it either.

-- 
LeN Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list