Date: Fri, 18 Aug 2006 09:57:47 -0700 From: "Kevin Sanders" <newroswell@gmail.com> To: "Lisa Casey" <lisa@jellico.com> Cc: freebsd-questions@freebsd.org Subject: Re: rsync on Freebsd 5.3 Message-ID: <375baf50608180957j73875f0bv44cefed2264b2b74@mail.gmail.com> In-Reply-To: <004501c6c2e5$01603760$d51a2cd0@lisac> References: <004501c6c2e5$01603760$d51a2cd0@lisac>
next in thread | previous in thread | raw e-mail | index | archive | help
I've never needed to do any rsync specific configuration, just install from ports on both machines. This sounds more like a ssh configuration issue ("connect to host newfreebsd.com port 22: Connection refused") on newfreebsd.com. Or maybe you're not allowing ssh connections thru the firewall on newfreebsd.com? Kevin On 8/18/06, Lisa Casey <lisa@jellico.com> wrote: > Hi, > > I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine > (oldfreebsd.com) to another (newfreebsd.com). I decided to use rsync for > this since it would preserve ownership, permissions, etc. I made sure rsync > was installed on both machines. Neither machine had an /etc/rsyncd.conf or > /etc/rsyncd.motd file. On newfreebsd.com I created /etc/rsyncd.conf thusly: > > motd file = /etc/rsyncd.motd > max connections = 1 > hosts allow = 208.44.xx.xx > > (The IP address is that of oldfreebsd.com) > > On newfreebsd.com, I created rsyncd.motd with the words Authorized Users > Only in it. > > as a test, I'm just trying to rsync /var/mail/lisa from oldfreebsd.com to > newfreebsd.com. When that works I'll do all of /var/mail/ > > on oldfreebsd.com I cd /var/mail, then type: rsync lisa > newfreebsd.com:/var/mail/ > > and get this: > > connect to host newfreebsd.com port 22: Connection refused > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(348) > > Anyone know what might be wrong? Or can anyone suggest a better way of > moving these mail boxes? > > Thanks, > > Lisa Casey > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?375baf50608180957j73875f0bv44cefed2264b2b74>