I'm getting an error trying to pull a file with ssh/rsync:

$ rsync -e 'ssh -i .ssh/id_rsa' [EMAIL PROTECTED]::www/index.html index.html
rsync: unable to open configuration file "rsyncd.conf": No such file or
directory
rsync error: syntax or usage error (code 1) at clientserver.c(502)
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(165)

The /etc/rsyncd.conf file on server.com is indeed there:

log file = /var/log/rsyncd

[www]
    path = /home/www/public_html

If I use root it works:

$ rsync -e ssh [EMAIL PROTECTED]::www/index.html index.html
[EMAIL PROTECTED]'s password: ********
$

What's the problem?

Thanks,
Mike

-- 
A program should be written to  model the concepts of the task it
performs rather than the physical world or a process because this
maximizes the  potential for it  to be applied  to tasks that are
conceptually similar and, more  important, to tasks that have not
yet been conceived.
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to