title: transfer file to remote via cmd
body: <p>I've done enough search on google and in this site, but I don't find any answer to my problem. I simply want to transfer file from local windows machine into remote ubuntu server. </p>
  
  <p>This is the command I tried:</p>
  
  <pre><code>scp C:/Users/myself/Documents/personal/gd_bundle-g2-g1.crt bitnami@11.123.12.123:/etc/ssl/certs
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>Permission Denied (Publickey)
  </code></pre>
  
  <p>Obviously because I didnt key in the keyfile and I dont know where to key in. So please guide me how can I transfer file to remove server with public key specified.</p>
  
  <p>Thanks</p>
  
  <p>edit:</p>
  
  <pre><code>scp -i C:\Users\myself\Documents\personal\ppk\myfile.ppk bitnami@11.123.12.123:/C:/Users/myself/Documents/personal/gd_bundle-g2-g1.crt   /etc/ssl/certs
  </code></pre>
  
  <p><strong>Getting error : wrong format</strong></p>