protocol version mismatch

Wayne Davison wayned at
Tue May 25 15:49:19 GMT 2004

On Tue, May 25, 2004 at 04:35:46PM +0200, Arjen van der Meer wrote:
>   rsync -a /home/ameer/midastests remotemachine:/home/ameer/midastests
>   protocol version mismatch - is your shell clean?

In addition to what JBG suggested, I'd also suggest using -vv to see
what command is being run to contact the remote host so you can see if
it is using the right remote shell.  The default is chosen at compile
time and can be overridden by setting RSYNC_RSH in the environment.  If
it is not what you expect, set it by exporting the right value in

If neither of these suggestions solves the problem, try using the
--rsync-path=/path/rsync option so that you're sure that the right
rsync on the remote system is being run.


More information about the rsync mailing list