title: Issue with passing find command via ssh
body: <p>I am trying to read content on specific files. I have multiple hosts where these files are located. I am passing the commands below during ssh so that it can run and get the output. </p>
  
  <ol>
  <li><p>When using the command below I get the specified errors. (its sshed to host but nothing happens)</p>
  
  <pre><code>$ ssh host "more $(find /my/path -name "test*")"
  find: 0652-010 The starting directory is not valid.
  </code></pre></li>
  <li><p>When using exec its not working, (its sshed to host but nothing happens)</p>
  
  <pre><code>$ ssh host "find /my/path -name "test*" -exec more {} \;"`
  </code></pre></li>
  <li><p>When using xargs it is working as expected</p>
  
  <pre><code>$ ssh host "find /my/path -name "test*" | xargs more"
  </code></pre></li>
  </ol>
  
  <p><strong>Can someone explain why method 1 &amp; 2 are not working?</strong></p>
  
  <p>Please note that if I directly run command on remote host every method is working.
  for example all commands below are working as expected in remote host.</p>
  
  <pre><code>more $(find /my/path -name "test*")
  
  find /my/path -name "test*" -exec more {} \;
  
  find /my/path -name "test*" | xargs more
  </code></pre>