If you're looking for an Emacs terminal+x-clipboard solution, I created an elisp pull request [1] for Spacemacs for adding that kind of support and handling SSH, Tmux, and Emacs. Note, this isn't a perfect solution, but it works well for linux to linux ssh and tmux. Feel free to contribute.