title: ssh problem - no such file or directory
body: <p>I have a script in remote host which I run as ./test /a/b/c/f and it runs perfectly fine on the maching.</p>
  
  <p>Now I am on host machine, I run the same script as ssh root@dst "./test /a/b/c/f" and this too runs fine.</p>
  
  <p>But from my perl script I execute it using backticks as</p>
  
  <pre><code>$file = "/a/b/c/f";
  `ssh root\@dst "./test $file"`;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>system("ssh root\@dst \"./test $file\" ");
  </code></pre>
  
  <p>it says bash:./test no such file or directory.</p>
  
  <p>I tried escaping $file with single \ and \. even that does not work. Any idea how to solve this,</p>
  
  <p>Thanks.</p>