--- title: Want to setup a tmux or wemux session with your pairs? disqus: pierodibello --- ###### tags: `pair programming` `howto` # Want to setup a tmux or wemux session with your pairs? You have few good alternatives: ## 1: [ngrok](https://ngrok.com/) Execute this into a shell to create a SSH tunnel on port 22 ```shell ssh -R 0:localhost:22 tunnel.eu.ngrok.com tcp 22 ``` Then grab the last line of the output, which should look something like... ```shell ... Region eu Forwarding tcp://0.tcp.eu.ngrok.io:10948 ``` and then ask your team mate to SSH to your machine ```shell ssh 0.tcp.eu.ngrok.io -p 10948 ``` to then start the tmux session. ## 2: [tmate](https://tmate.io/) A good alternative is [tmate](https://tmate.io/), which helps you share a terminal. On a OSX, it's just `brew install tmate` to have tmate. ## 3: explore mosh