By using ssh, you can share a tmux session, making pair programming much easier. We'll learn how to share a tmux session with another user.
For one developer:
tmux new-session -s pair
For the other developer:
tmux ls # list all the session tmux a -t pair # join the pair session
Now two developers share the same session.