Unix – Copying File From Unix To Windows Clipboard


I want to copy a large file from a Unix server to the Windows clipboard using SSH.
How can this be done?

I can't install any third party application on the server
I tried various options like %y+ But none of them working for me.


Finally i used scp on windows cygwin and it worked like charm

Best Solution

Like the interactive session with your Unix server, you can also use ssh to execute a command and then quit. With cat, you can print the contents of files on the Unix server. Windows comes with the clip tool that captures output and places it in the clipboard. Voila:

ssh user@server cat /etc/passwd | clip