Guest anon Posted February 19, 2004 Report Share Posted February 19, 2004 Why doesn't this work. What simple thing am i missing? [root@localhost me]# rsync -e ssh -auvn 213.232.xxxx::test/ /home/me/tmp Enter passphrase for key '/root/.ssh/id_rsa': Password: @ERROR: auth failed on module test rsync: connection unexpectedly closed (88 bytes read so far) Contents of rsyncd.conf motd file = /etc/motduid = nobody gid = nobody use chroot = no pid file = /var/run/rsyncd.pid max connections = 2 syslog facility = local5 [test] path = /home/admin/test comment = tryout auth users = root secrets file = /etc/rsyncd.secrets Contents of rsyncd.secrets file. root:test123 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted February 20, 2004 Report Share Posted February 20, 2004 I know nothing about this, but just from my observation: [root@localhost me]# rsync -e ssh -auvn 213.232.xxxx::test/ /home/me/tmp path = /home/admin/test Maybe the path needs to be /home/admin? Could that be the problem? Quote Link to comment Share on other sites More sharing options...
Guest anon Posted February 20, 2004 Report Share Posted February 20, 2004 I know nothing about this, but just from my observation:[root@localhost me]# rsync -e ssh -auvn 213.232.xxxx::test/ /home/me/tmp path = /home/admin/test Maybe the path needs to be /home/admin? Could that be the problem? Thanks, but no thats not it. "test" is the directory that holds the files. Its also the rsync "module" that tells rsync the location of the files. The error code "auth failed on module test" is saying its found the files but i don't have permission to access them. so its either not reading the secrets file correctly, or something else...... :unsure: Quote Link to comment Share on other sites More sharing options...
Guest anon Posted February 24, 2004 Report Share Posted February 24, 2004 bump Quote Link to comment Share on other sites More sharing options...
Guest anon Posted March 2, 2004 Report Share Posted March 2, 2004 Fixed it. B) B) B) rsync -auvn -e ssh root@213.232.xxxx:test/ //home/me/tmp Quote Link to comment Share on other sites More sharing options...
phunni Posted March 2, 2004 Report Share Posted March 2, 2004 Good job! Quote Link to comment Share on other sites More sharing options...
Guest anon Posted March 2, 2004 Report Share Posted March 2, 2004 Good job! Thanks my fellow friendly Englishman !! It had been driving me nuts for a couple of weeks. :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.