title: No such file or directory error on scp command
body: <p>Im using codeship for deployment and it provides a way to access the build machine with ssh:</p>
  
  <pre><code>ssh rof@1.2.3.4 -p 65503
  </code></pre>
  
  <p>This works fine and I get into the machine. Now I want to copy a file from the remote machine to my local machine. Im trying:</p>
  
  <pre><code>sudo scp -p 65503 -v -i ~/.ssh/id_rsa rof@1.2.3.4:~/home/rof/cache/app.js /
  </code></pre>
  
  <p>And I get a whole host of errors:</p>
  
  <pre><code>cp: 65503: No such file or directory
  cp: -v: No such file or directory
  cp: -i: No such file or directory
  rof@23.20.112.101: Permission denied (publickey).
  </code></pre>
  
  <p>I dont know why it's saying <code>No such file or directory</code> for each argument.</p>
  
  <p><code>id_rsa</code> exists and is in <code>~/.ssh/</code> directory.</p>
  
  <p>The Permission Denied error appears to be a separate issue. </p>
  
  <p>Any ideas?</p>