My dream: From my osx machine I ssh to a linux machine and can copy paste with a commandline application like xclip or pbcopy, and then be able to use it on my host machine.
(mac)$ ssh -X linux_mach (lin)$ echo "heyyy" | pbcopy (lin)$ any_other_command (lin)$ exit (mac)$ pbpaste heyyy
I've seen many answer about how to do it from osx to osx or from linux to linux. However, I'm not able to put together these answer to get it to work across different systems, even if I enable X11 forwarding.
The reason I want to be able to do it with an commandline application is because i then plan on infusing this into my tmux+vim session, which i'm already able to do when i run the tmux session locally.
The closest I've gotten to get this working can be found at this url: http://seancoates.com/blogs/remote-pbcopy