Help with rsync configuration

Ilya Vishnyakov ilya at edpausa.com
Fri Jan 5 17:17:00 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
You need to exchange public keys with the server (go to .ssh directory
in home directory and pull out .pub key and copy the content of it
into .authorized_keys in home directory on the server do the same with
the receiving server)



Vinicius Carvalho wrote:
> Hello there! We are trying to get rsync to work in our servers but
> so far we did not succeeded. Our scenario is a 3 machines where one
>  directory must be replicated through all the clusters, no matter
> where the file was saved. I have a few basic questions regarding
> that:
>
> 1st Do I need a daemon on all instances or just one of them? Files
> saved on any of them must be mirrored
>
> 2nd We gave a try with rsync 2.6.9 on Suse 9 machines, here's the
> rsync.conf:
>
> gid = users read only = false use chroot = true transfer logging =
> true log format = %h %o %f %l %b log file = /var/log/rsyncd.log
>
>
> [test] path = /root/test auth users = jboss secrets file =
> /etc/rsyncd.secrets hosts deny = * hosts allow = aaa.bb.c.* list =
> false
>
> our rsyncd.secrets: jboss:jboss
>
> We start the daemon with no errors, but when trying to connect to
> it using:
>
> rsync -avz -e ssh jboss at aaa.bb.c.dd::test .
>
> so after running the command above and trying to enter the password
>  for jboss 3 times we get: Permission denied
> (publickey,keyboard-interactive). rsync: connection unexpectedly
> closed (0 bytes received so far) [receiver] rsync error: error in
> rsync protocol data stream (code 12) at io.c(453) [receiver=2.6.9]
>
> What am I missing?
>
> Best regards

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
 
iD8DBQFFnogMGaMWa0kHPPoRAtMVAKCDZcI6ZcKnNuZDX5Ode5KQjSuGmwCaAvvu
HEfJT1cxf+94jhocKLuTafA=
=bb8x
-----END PGP SIGNATURE-----



More information about the rsync mailing list