2
3
If I do in Windows shell:
C:\Users\Luis>echo hello
hello
... the output goes to screen/terminal (stdout, we could say). But if I do:
C:\Users\Luis>echo hello | clip
... the output goes to clipboard, so I can paste it in any other program.
If I log to any Windows remote shell by using Putty it would be fine to have some equivalent tool, but just trying to use "clip" gives no results at all, and the Copy All To Clipboard
option of Putty client is not exactly the same (it copies the whole screen).
I don't know if this is server-dependant: my server at the Windows side is Bitvise SSH Server.
Thanks you.
2
clip
is being executed server side, and has no knowledge of your SSH session, so there's no way your client is going to see the effects of that command. Unless the Bitvise Server has something included, I don't think what you want to do is possible. – heavyd – 2015-01-06T23:34:06.283This does not answer your question directly but Windows Remote Desktop has clipboard integration along with other resource sharing. – Pawel Debski – 2019-10-09T18:15:45.090