Skip to content

Instantly share code, notes, and snippets.

View mmm's full-sized avatar

Mark Mims mmm

View GitHub Profile
@mmm
mmm / tmux-cssh
Last active November 8, 2017 21:59 — forked from otterley/tmux-cssh
#!/bin/sh
usage() {
echo "Usage: $0 user1@host1 user2@host2 host3 host{4..6} host7 host8 [...]"
}
[ $# -lt 1 ] && usage && exit 1
create_ssh_pane() {
local session=$1
local host=$2