Remote Pairing with tmux

  • flaviu

Oops, a subscription is required to view this video. You can enroll now to watch, or try out all that Code School has to offer with a free two-day Hall Pass.


Alex Villa said

Flaviu, you never cease to amaze me. Great video!

Melinda Jackson said

Flaviu! So glad to see this screencast... and a familiar face. Good work. I can't wait to try it out one Friday afternoon with my team. Sweet!

Keith Adkins said

If you are just sharing terminal sessions, byobu seems to do a lot of what this does, but with the added benefit that it is also a screen session. F2 creates new windows, F3 cycles through them, F6 detaches, others can ssh into the box and attach to your sessions, etc. Next time you are in a Ubuntu box (byobu is installed by default).. just type byobu and hit F9 for some config options... And you can always use screen for the same thing.

Chris Cashwell said

I find that tmux is insufficient for pairing on a real-world project, especially a web-based one. In my workflow, I typically have multiple terminal sessions (one for a Rails server, one for a Rails console, and one for actually running commands), and at least two browser tabs open (one for the app, the other for Google). One of the biggest limitations of tmux is that it only allows text-based interaction. That throws browser sharing out the window, and since it is one of the most important pieces of my workflow, I can't live with that. Enter I've found that the free version of is perfect for pair programming, as it allows voice and screen sharing with full control sharing. We've worked successfully with this setup for more than a year, and have little gripes.

Luc said

Great screencast! I'll be trying out tmux very soon and this was a great introduction.

Jeffrey said


Dennis Keefe said

Great video, I will be using tmux soon with another programmer and was unfamiliar with how it worked. Thanks!

42 Dev Team said

That was great. We're trying to work more paired programming session into our code review / team processes and this could be a very useful way to do it. Plus, now I finally can see a use for tmux!

Paulo Geyer said

great screencast, I'll start using tmux, looks much better than screen, thanks for sharing this!


Flaviu Simihaian said

HUSSEINMORSY, 1. I typically have one username. However, authentication is done via their public/private key. So adding their key to the ~/.ssh/authorized_keys file will let them in without a password.

  1. on the server, there's only one vim, so we both have to use the same settings. It is best not to get to crazy with plugins to level the learning curve. I just install Janus ( and that typically has everything we need.

Hussein Morsy said

Thanks for the great screencast. I have 2 questions 1. If you login into the server. Do both user login with the same username ? 2. How to you handle the problem, that eventually each user has very different vim settings.

Dan Kissell said

Thanks for the screencast! I'd love to see another one with more detail regarding your or others tmux workflow. Thanks again.


Flaviu Simihaian said is an interesting attempt to do that.

Omar said

Is there a site that lets people pair program collaboratively?


Pair programming is way to escape rabbit holes and improve code quality through dual thinking and error checking. If you can't be in the same location tmux is a great solution to pair program remotely.