I have 2 ubuntu 14.04 servers in vm in my machine.I logged in the 2 servers as the user chandhu, then by using sudo -i , I changed as root. I have one file in the user chandhu.I wanna to move that from one server to another by using rsync. While I am entering the following command:
rsync -avh /home/chandhu/me.txt firstname.lastname@example.org:/home/chandhu/
there showing the error. But while I enter the command as this:
rsync -avh /home/chandhu/me.txt email@example.com:/home/chandhu/
the things are going smoothly. then what was the reason for that error?
Error message is given below rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.0]