What I've found to be the best and most efficient solution is to use xclip-copyfilexclip-copyfile
and xclip-pastefilexclip-pastefile
.
On the server, you use xclip-copyfilexclip-copyfile
to copy one or more files. These files are then available on your local server. There, you can use xclip-pastefilexclip-pastefile
.
This bypasses the need to use scpscp
or have a local ssh server. I use this with cygwin for instance. The only problem is that this requires installing xclipxclip
if you don't already have it. Oh, and this works with binary files too.