It turns out rsync can't work with a remote server which has a .bashrc file?
At local client i got when run rsync:
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]
As suggested here removing the .bashrc on server solved the problem. How to solve it without removing the .bashrc file (temporarily)?