Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created November 25, 2009 19:30
Show Gist options
  • Select an option

  • Save dysinger/242958 to your computer and use it in GitHub Desktop.

Select an option

Save dysinger/242958 to your computer and use it in GitHub Desktop.
#!/bin/sh
# on the laptop add to .emacs
# (setq server-use-tcp t) (server-start)
# then ssh w/ port forwarding to a public box
ssh -R 22:127.0.0.1:43210 dev.sa2s.us
# on the public pairing box
ssh -p 43210 localhost
# now on the mac
emacsclient -nw -f server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment