title: Is there a way to scp copy a .tar.gz file from a remote server using ssh command?
body: <p>I'm trying to copy a .tar.gz file from a remote server onto my machine. I have used the scp method successfully before on different file types but having issues using the same method with a .tar.gz file. What do I need to do differently? </p>
  
  <p>The command I've tried is below..</p>
  
  <pre><code>scp userlogin@remoteserver:/ remote/file/path/.tar.gz local/file/path/to/copy/into
  </code></pre>
  
  <p>I get that there is 'no such file or directory' - i suspect this may be something to do with how the tar.gz file is compressed? Is it not picking it up?</p>