"rsync rsync://host" is different from "rsync -e ssh path host:/path"
using ssh, you want the 2nd form On Mon, Mar 28, 2011 at 4:56 PM, Boniforti Flavio <[email protected]> wrote: > Hello everybody. > > I got a strange problem, which I hope to solve with your help. > > I'm doing "remote backups" using rsync in an ssh tunnel. In the last > setup I realized, something is driving me crazy and I can't find *what* > the problem is. > I managed to successfully login via ssh in a "passwordless" way (by > means of RSA-keys). > After this step is done and I'm logged into the remote host, I can type: > > rsync rsync://localhost > > and I get the correct reply: > > Dati > > Whenever I type > > rsync rsync://localhost/Dati > > I get prompted for the user password. This shouldn't be happening, so > where do I have to look at? > > This is my /etc/rsyncd.conf: > > #motd file = /etc/rsyncd.motd > #log file = /var/log/rsyncd.log > pid file = /var/run/rsyncd.pid > lock file = /var/run/rsync.lock > use chroot = no > [Dati] > path = /volume1/Dati > read only = no > transfer logging = yes > > And following is /etc/rsyncd.secrets > > root:onOYcgV3xuMZA|1J0vxxUopcg= > > Is there anything wrong? > > Kind regards, > Flavio Boniforti > > PIRAMIDE INFORMATICA SAGL > Via Ballerini 21 > 6600 Locarno > Switzerland > Phone: +41 91 751 68 81 > Fax: +41 91 751 69 14 > URL: http://www.piramide.ch > E-mail: [email protected] > -- > Please use reply-all for most replies to avoid omitting the mailing list. > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html > -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
