This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |