title: rsync not working for remote copy?
body: <p>I do the following command</p>
  
  <pre><code> rsync -a toCopy/Read_Files/ toCopy/Test
  </code></pre>
  
  <p>and it works. However when I try through remote access :</p>
  
  <pre><code> rsync -a toCopy/Read_Files/ root@192.168.155.148:/NightTest/
  </code></pre>
  
  <p>I got the following message</p>
  
  <pre><code>sh: rsync: command not found
  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
  rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9]
  </code></pre>
  
  <p>Even though I followed instruction from this site</p>
  
  <p><a href="http://www.tecmint.com/rsync-local-remote-file-synchronization-commands/" rel="nofollow">http://www.tecmint.com/rsync-local-remote-file-synchronization-commands/</a></p>
  
  <p>section <em>Copy a Directory from Local Server to a Remote Server</em></p>
  
  <p>**See my answer to know what to do if you can't use rsync</p>