Skip to content

Instantly share code, notes, and snippets.

View benjaminhawkeslewis's full-sized avatar

Benjamin Hawkes-Lewis benjaminhawkeslewis

View GitHub Profile
@benjaminhawkeslewis
benjaminhawkeslewis / gist:2623263
Created May 6, 2012 16:56
Sharing clipboards

Sharing clipboards between OS X and remote *nix

Install latest stable XQuartz.

Forward your X11 connection when SSHing to the box:

ssh -X remoteuser@remotehost

Alternatively you can configure this, globally or for an individual host, in your .ssh/config with the ForwardX11 directive.