Cluster SSH with tmux
Date: 24 September 2013
Categories: tmux
I was working today and, as I glanced at #lopsa, I saw this little gem.
13:50 <geekosaur> tmux has a broadcast-to-all-terminals thing Wait, what?! I had to check it out. It turns out that tmux has a window option called synchronize-panes which lets you “Duplicate input to any pane to all other panes in the same window.”
I’ve been using cluster ssh to occasionally log into a bunch of my boxes at once and run the same command on all of them at the same time.