SCP says file has downloaded, but the file does not appear

macos, shell, ssh, terminal

Solution

I think that you are logging into the remote machine using ssh and then running the command on the remote machine. You should actually be running the command without logging into your remote server first.

Problem

I am using ssh to work on a remote server, however when I try to download a file using scp in this format: ``` scp name@website.com:somefile.zip ~/Desktop ``` It asks me for my password, and shows this: ``` somefile.zip 100% 6491 6.3KB/s 00:00 ``` however, this file never appears on my desktop. Any help

Original source