Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
4  
-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
add comment

2 Answers

SCP is probably the easiest way:

scp username@server.com:remote/path/to/file.txt ~/local/path/to/file.txt
share|improve this answer
add comment

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
1  
Or the PuTTY version of scp - pscp. –  tidbeck Jan 3 '12 at 14:24
add comment

Your Answer

 
discard

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.