Hi Everyone,
I am getting error while running Rsync from my machine. I have run this successfully few days before but today I am getting this some error.
this is the code I used for running rsync and following is the error message:
Your password will expire within 24 hours.
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.0.9]
This is what is causing rsync to throw the error, you have probably added something to your startup files on the remote server - you will have to regress the changes that you have made.
Perhaps you have a test in your profile or an rc file that is generating the message - this will corrupt the rsync data flows causing the failure. As a test the file that you generate should be zero length.