Skip to content

Instantly share code, notes, and snippets.

@jur0
jur0 / remotepaste.md
Created December 12, 2017 21:34 — forked from burke/remotepaste.md
This sets up keybindings in tmux that allow you to copy/paste to/from your OS X clipboard from tmux running inside an SSH connection to a remote host. Partially borrowed from http://seancoates.com/blogs/remote-pbcopy

Local (OS X) Side

~/Library/LaunchAgents/pbcopy.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
     <key>Label</key>
     <string>localhost.pbcopy</string>

Keybase proof

I hereby claim:

  • I am jur0 on github.
  • I am jur0 (https://keybase.io/jur0) on keybase.
  • I have a public key ASCe6vmLZjMDXbYj5qlrpvcRy6-w-0Pktqh9OLudKVJ17wo

To claim this, I am signing this object: