Skip to content

Instantly share code, notes, and snippets.

@rupurt
Last active April 30, 2018 20:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rupurt/87598ac8e179f4bd479c2873d5f386f9 to your computer and use it in GitHub Desktop.
Save rupurt/87598ac8e179f4bd479c2873d5f386f9 to your computer and use it in GitHub Desktop.
Host & Connect to tmux session
# Hoster
# Serveo
ssh -R 1500:localhost:22 serveo.net
# ngrok
ngrok tcp 22
# tmux
tmux -S /tmp/pair
chmod 777 /tmp/pair
# Attendee
# Serveo
ssh -p 1500 pairing@[AssignedIPOrHostname]
# ngrok
ssh -p 19918 pairing@0.tcp.ngrok.io
# tmux
tmux -S /tmp/pair attach -t pairing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment