title: How to copy file from Windows laptop to Linux remote server
body: <p>There are already quite a few topics on this issue here on StackOverflow</p>
  
  <p>However, I have spent the last 3 hours trying all of them, but am unable to fix this.</p>
  
  <p>I am trying to copy a file from my laptop to a remote linux server</p>
  
  <p>My laptop uses Windows 8.1</p>
  
  <p>The remote server is Debian.</p>
  
  <p>I am connected to the Linux server via a PUTTY.</p>
  
  <p>If I was using a linux machine, it would be as easy as A-B-C</p>
  
  <p>But, as my laptop is Windows...............well.........</p>
  
  <p>Here is the command I've tried :</p>
  
  <p><strong>pscp C:\Users\Michael Storm\Desktop\Folder\public_key.ppk mstorm@my.linux.server:/home/mstorm</strong></p>
  
  <p>mstorm --- my username on the linux server (and also my home-directory)</p>
  
  <p>public_key.ppk --- the file I'm trying to copy to the linux server</p>
  
  <p>C:\Users\Michael Storm\Desktop\Folder\public_key.ppk --- the filepath (on my laptop)</p>
  
  <p>(Just to be clear : there is a space-break between "<strong>public_key.ppk</strong>" and "<strong>mstorm</strong>". This forum carried over the second half of my command to the next line)</p>
  
  <p>This command gave me the error : <strong>UNKNOWN COMMAND PSCP</strong></p>
  
  <p>So, I changed "<strong>PSCP</strong>" to "<strong>SCP</strong>", and I got the error :</p>
  
  <p><strong>ssh: Could not resolve hostname C: Name or service not known 
  Permission denied (publickey). 
  lost connection</strong></p>
  
  <p>In addition, I should mention : I cannot use any File Transfer clients (like FileZilla, or WinSCP), because : I connect to the linux server via a public key.  There is no password.</p>
  
  <p>FTP clients require a password to connect.  </p>