title: How to diff directories over ssh
body: <p>I am trying to recursively compare a directory in the local host to a directory in a remote linux machine. However, when i execute the next command:</p>
  
  <pre><code>diff -r 'ssh admin@10.0.0.10:/home/admin' /home/admin
  </code></pre>
  
  <p>it doesn't work saying:</p>
  
  <blockquote>
    <p>diff: ssh admin@10.0.0.10:/home/admin: No such file or directory</p>
  </blockquote>
  
  <p>what is the right way to compare recursively the directories contents?</p>
  
  <p>Thanks in advance</p>