Sample Header Ad - 728x90

How to copy a file from a remote server to a local machine?

565 votes
6 answers
2655733 views
In my terminal shell, I ssh'ed into a remote server, and I cd to the directory I want. Now in this directory, there is a file called table that I want to copy to my local machine /home/me/Desktop. How can I do this? I tried scp table /home/me/Desktop but it gave an error about no such file or directory. Does anyone know how to do this?
Asked by omega (6147 rep)
Mar 5, 2015, 02:30 AM
Last activity: Apr 2, 2025, 11:34 AM