I am have installed rsync 3.1.0 on solaris 10 sparAC. I have to transfer the data from one server to other. below is the command I an tring to execute. /PATH/TO/RSYNC/rsync-3.1.0/rsync -av --rsh=ssh /PART/TO/src/dir1/confg/ ABC@X.XXX.XX.XX:/path/to/dest/dir1/confg/ while running the command it prompts me for password for ABC USER and I provide the same. I get the below error message ksh: rsync: not found rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0] I have deployed rync on both the source and destination folder at the same location. Let me know if you need further details and if this is a known bug then please let me know the work arround. regards Sunil
The clue is in the error message: ksh: rsync: not found As you apparently haven't installed rsync in a standard $PATH location (as you specify the path to rsync locally), how do you expect rsync to be found on the remote system if you don't tell it where it is? In your case you need to use the --rsync-path option. Note also that --rsh=ssh is redundant, that's the default. Please don't open bug reports if you just need help with rsync usage, use the mailing list for that.