You are not logged in.
Pages: 1
I installed rsync on my arch box but when I try to rsync to it from another computer I get:
$ rsync -avz .* 192.168.1.20:/home/llawwehttam/conky/
ssh_exchange_identification: Connection closed by remote host
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(600) [sender=3.0.6]
The username is the same on both machines and I have used rsync fine from this machine before.
I can't rsync out of the arch box either.
Any ideas?
Just to clarify I can ssh in an out of the arch and ubuntu machines fine
Last edited by llawwehttam (2010-02-15 12:44:39)
Offline
It's been about a year since I've done this, but did you exchange ssh-keys, so that you can automatically log in from that machine without a password?
It has to do with the ssh-keygen command.
Another idea...
Don't you have to specify what user to use as a parameter in the rsync command?
Last edited by DeeCodeUh (2010-02-15 15:59:45)
Offline
Can you ping?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Right, to reply to those,
Yes I can ping
no I have not exchanged keys
I have also tried the -e ssh option.
No luck.
Just to clarify From my ubuntu box I can rsync fine except to this arch box and the arch box cannot rsync to anything.
Bit strange really.
Offline
Does normal ssh work?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Does normal ssh work?
Yes normal ssh works fine. Thats why I thought it was strange...
Offline
hope this guide may help you.
Offline
hope this guide may help you.
Nice guide but I'm not sure how that helps my problem...
I've been using rsync for 6 months on ubuntu, fedora, debian and now arch and arch is the only one I've seen problems with.
Last edited by llawwehttam (2010-02-15 16:59:16)
Offline
have you tried rsync -avz user@IPaddress:/path/to/directroy/file ~/Dest. This works fine for me.
Offline
I have finally got it working. After having a permissions problem when I installed arch I checked and /usr/bin/rsync was owned by root and unreadable. When run as root it worked fine so ran chmod 755 on it and all is good. I have no idea why the perms were wrong in the first place. Thats left me a bit puzzled. Anyway at least its working.
Offline
Pages: 1