Emacs has a very under-publicized capability that could make your life easier. You can actually open files remotely via ssh, just as easily as a local file, and with very little overhead. So as long as you can copy to clipboard from your local emacs, you can do what you need.
To open a file remotely, just hit C-x C-f as usual. But the file you want is something like
/ssh:otherserver.some.org:/path/to/file.log
where otherserver.some.org
is replaced by the actual server name and /path/to/file.log
is your actual path. After the first connection, tab completion also works. Editing works exactly as it does with a local file (including copying), except that when you save, the file is copied back to the remote via ssh.
This facility is called "TRAMP", so there will be hidden buffers with "tramp" in their names. Also note that tramp can use several other methods to connect to files, such as plink
for Windows, and su
to edit files as another user.
Other options for your problem are discussed here:
Getting Items on the Local Clipboard from a Remote SSH Session, or maybe even here:
http://winscp.net/eng/docs/task_edit.