access denied error with rsync 2.5.1

Martin Pool mbp at
Fri Jan 25 18:17:07 EST 2002

On 25 Jan 2002, Kenneth Wilder <wilder at> wrote:

> Hi.  I have several Linux machines running the Debian unstable distribution.
> Until recently I used rsync version 2.4.6 without any problems, but after
> upgrading to version 2.5.1 (using apt-get) rsync fails.  
> The command that produces the error is run on oldmill ( 
> rsync -av --password-file=/etc/ armada::rsync /backup/armada/home/
> And the error is:
> @ERROR: access denied to rsync from unknown (
> rsync: connection unexpectedly closed (71 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(139)


This is a known bug in 2.5.1 relating to reverse name resolution.  You
can either upgrade to 2.5.2pre3 (by building the source), or wait for
2.5.2 to get into Debian, or work around it by specifying the
machine's IP address rather than its hostname.


More information about the rsync mailing list