rsync: connection unexpectedly closed

jw schultz jw at
Tue Apr 22 11:46:35 EST 2003

On Mon, Apr 21, 2003 at 06:40:47PM -0700, nisar akhthar wrote:
> Hi,
> I am getting the following error when I try to rsync using ssh on a Redhat 
> 7.2 box of another RedHat 7.2 box. I am running a OpenSSH_3.5p1 and rsync  
> version 2.5.6.
> One clue is, it works fine if i do it as root!!! Could be permission 
> issues, but on what? I have checked permissions on all the relevant config. 
> files as well as files/directories involved.
> Any ideas/tips would be greatly appreciated.

Argument order is significant.  Are you intending to use ssh
to connect to panacea and then to an rsync daemon on that
machine?  Do read the usage examples.

> Thanks
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> [rsync at cvsrep rsync]$ rsync -v rsync at panacea::build_dir tmp 
> --rsh=/usr/bin/ssh
> Panacea CVS
> rsync: connection unexpectedly closed (25 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt

More information about the rsync mailing list