Skip to content

Instantly share code, notes, and snippets.

@evaldasg
Created August 17, 2015 14:05
Show Gist options
  • Save evaldasg/86c3767b225f899c729b to your computer and use it in GitHub Desktop.
Save evaldasg/86c3767b225f899c729b to your computer and use it in GitHub Desktop.
# protocol version mismatch -- is your shell clean?
# (see the rsync man page for an explanation)
# rsync error: protocol incompatibility (code 2) at compat.c(176) [Receiver=3.1.1]
# ^ this was caused because of bashrc configuration which had some output, we can prevent this with:
# add this at the top of bashrc file on your end-point
# this will do nothing if runnig not interactively
case $- in
*i*) ;;
*) return;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment