[tmux] Share a tmux session for pair programming with ssh

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.

原文地址:https://www.cnblogs.com/Answer1215/p/6700230.html