I am attempting to copy a file (/home4/user/public_html/website.com/folder_1/folder_2/file_to_copy.zip) from my remote host to my local machine's desktop (/Users/username/Desktop) using the scp command.
In order to accomplish this I run iTerm on my Mac and use the following command:
scp -r [email protected]:/home4/user/public_html/website.com/folder_1/folder_2/file_to_copy.zip /Users/username/Desktop/
(It might also be worth noting that I am logged in via ssh to my remote host as I try to execute this command.)
When I run the command I am prompted to fill in the password for [email protected]
(which I do) and then I receive the following error message:
/Users/username/Desktop: No such file or directory
Similarly, I have been unable to use scp to copy files to my remote host.
Any help with this issue is highly appreciated, and I hope that I can receive simple/thorough explanations as I am completely new to using a command line and ssh.