There’s never a situation where I want to copy/paste to any clipboard other than my local clipboard, so I solved this by simply aliasing pbcopy/papaste to always SSH back to my mac and run pbcopy/pbpaste there.
I created a similar tool to help me synchronize my clipboard between my desktop and my laptop: <a href="https://github.com/b0o/clipshare">https://github.com/b0o/clipshare</a>