title: Run script on remote server from local machine
body: <p>I have a remote script on a machine (B) which works perfectly when I run it from machine (B). I wanted to run the script via ssh from machine (A) using:</p>
  
  <pre><code>ssh usersm@${RHOST} './product/2018/requests/inbound/delDup.sh'
  </code></pre>
  
  <p>However, machine (A) complains about the contents of the remote script (2018req*.txt is a variable defined at the beginning of the script):</p>
  
  <pre><code>ls: cannot access 2018req*.txt: No such file or directory
  </code></pre>