Fix Rsync error "protocol version mismatch - is your shell clean?"

I bring you a very quick tip to solve an error that Rsync sometimes presents and that has been bothering me all morning.

The question is that, wanting to do an Rsync of my folders to the server (from the server), when putting the command:

rsync -av elav@ip:/carpeta /carpeta_server

I got this error:

protocol version mismatch - is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c (180) [sender = 3.0.7]

The solution I found was to delete all the content of my .bashrc file, but of course Delete? Negative, it is easier to rename the file and period:

mv ~/.bashrc ~/._bashrc

And ready. Fixed the problem.


3 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   diazepam said

    I still hope the blog's DNS issues are resolved. If I log in to see individual entries, everything is fine. If I enter through the blog link, it shows the little message that I left in the forum.

    1.    elav said

      Unfortunately, it is something that escapes us. With the change our server provider made, the IPs changed, and it should return:

      ns6179.hostgator.com (50.87.144.125)
      ns6180.hostgator.com (192.232.251.99)

      But it is not doing it yet. In my case for example, it returns:

      192.232.251.98

  2.   kiko poison said

    Look, I've read bullshit on the internet but this is already one of the fattest. Total useless level.