Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
-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 '12 at 9:27

SCP is probably the easiest way:

scp ~/local/path/to/file.txt
share|improve this answer

If your Desktop is Windows-based, use WinSCP.

WinSCP is an open source free SFTP client, SCP client, FTPS client and FTP client for Windows. Its main function is file transfer between a local and a remote computer. Beyond this, WinSCP offers scripting and basic file manager functionality.

enter image description here

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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