Last Updated: February 25, 2016
·
443
· christopherdebeer

tmux pair programming

Allow another user access to your tmux session:

# specify the name of your tmux socket with -S when creating it
tmux -S /tmp/pair

# chmod to allow other users to access it
chmod 777 /tmp/pair

Now once the other person has ssh'd into your development box, be that a VPS or an instance in the "cloud".

# now the other user can connect with
tmux -S /tmp/pair attach

1 Response
Add your response

How is this any better than tmux / tmux attach? It's not as though using the -S option magically lets 2 people type into 2 separate panes in tmux. Now that would be useful. I've only ever seen this with iTerm2 tmux integration

over 1 year ago ·