error code 10 when using ::

Matt McCutchen matt at mattmccutchen.net
Tue Jan 1 15:46:09 GMT 2008


On Tue, 2008-01-01 at 17:44 +0900, Gav.... wrote:
> This works :
> 
> sudo rsync -rtlzv --delete root at 123.456.789.000:/var/virtual/web
> /usr/local/websites
> 
> This does not :
> 
> sudo rsync -rtlzv --delete root at 123.456.789.000::websites
> /usr/local/websites
> 
> I created a [websites] section in a new /etc/rsyncd.conf file then restarted
> xinetd.
> 
> 3 questions if I can.
> 
> 1. Why does the second one not work -- I get connecion timed out and error
> in socket IO (code 10) for the second one, whereas the first one works.

In addition to creating /etc/rsyncd.conf , you may need to add the rsync
daemon as an xinetd service.  If you still can't get the daemon to work,
please post the exact error message and your /etc/rsyncd.conf and xinetd
configuration files so we can figure out what's wrong.

> 2. Even the one that works requires me to enter my local root password and
> then the remote root password. Is this secure enough?

You'll have to decide that for yourself.  SSH does encrypt the remote
root password before sending it over the network.

> 3. To automate the process I need to remove the need for passwords, but I do
> not want to create another account on the remote server as it is a web
> server housing many clients sites. The above connections wont work without
> me using root at . I suppose I should connect using SSH, is there an idiot
> proof guide somewhere I can look at?

Try this:

http://troy.jdmz.net/rsync/index.html

Matt



More information about the rsync mailing list