How do you copy a file to your desktop from SSH server on Ubuntu?

link|improve this question
1  
-1 for not showing any research effort and being too ambiguous. What are the operating systems involved on both sides? Is it Ubuntu → Windows? Windows → Ubuntu? Ubuntu → Ubuntu? – slhck Jan 3 at 9:27
feedback

2 Answers

SCP is probably the easiest way:

scp username@server.com:remote/path/to/file.txt ~/local/path/to/file.txt
link|improve this answer
feedback

If your Desktop is Windows-based, use WinSCP.

link|improve this answer
Or the PuTTY version of scp - pscp. – tidbeck Jan 3 at 14:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.