Skip to content

Instantly share code, notes, and snippets.

View mwillers's full-sized avatar

Michael Willers mwillers

View GitHub Profile
@mwillers
mwillers / ssh-multi.sh
Created June 8, 2018 16:48 — forked from dmytro/ssh-multi.sh
Start multiple synchronized SSH connections with Tmux
#!/bin/bash
# ssh-multi
# D.Kovalov
# Based on http://linuxpixies.blogspot.jp/2011/06/tmux-copy-mode-and-how-to-control.html
# a script to ssh multiple servers over multiple tmux panes
starttmux() {
if [ -z "$HOSTS" ]; then