rsync on Freebsd 5.3

Lisa Casey lisa at
Fri Aug 18 16:40:43 UTC 2006


I am trying to transfer all files in /var/mail from one Freebsd 5.3 machine 
( to another ( 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 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

On, 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 to When that works I'll do all of /var/mail/

on I cd /var/mail, then  type:  rsync lisa

and get this:

connect to host 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?


Lisa Casey

More information about the freebsd-questions mailing list