How do you copy a file to your desktop from SSH server on Ubuntu?
SCP is probably the easiest way:
scp email@example.com:remote/path/to/file.txt ~/local/path/to/file.txt
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.
1Or the PuTTY version of scp - pscp.– tidbeckJan 3, 2012 at 14:24