Why rsync command throws 'rsync error: protocol incompatibility (code 2) at compat.c' message ?
Issue
- Why rsync is giving protocol error message during file copying ?
# rsync -avz -e ssh hostname:/export
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(171) [receiver=3.0.6]
Environment
- Red Hat Enterprise Linux 5.6
- rsync
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
