Clipboard selection over remote (ssh
) and optionally multi-plexed (tmux
) connections. This is primarily from a windows machine using git-for-windows, mintty
, and tmux
remotely. Untested otherwise.
Other (non-Windows) solutions/recommendations include xclip
on the remote end; these will not work unless there is an X-windows server running on the local (Windows) machine.
The remainder is effectively the results of my trial-and-error process.
Instead, this uses OSC-52 escape sequences. Because they can be considered a security risk (the remote end might be able to see the local end's clipboard values arbitrarily), the capability is disabled by default.