Skip to content

Instantly share code, notes, and snippets.

@rueian
rueian / ssh-multi.sh
Last active March 18, 2016 12:31
Start multiple synchronized SSH connections with Tmux
#!/bin/bash
# ssh-multi : a script to ssh multiple servers over multiple tmux panes
# nomad-fr : https://gist.github.com/nomad-fr/8f2316c24c9d488a603b
# Based on D.Kovalov work : https://gist.github.com/dmytro/3984680
# config
#user=$USER # user use for ssh connection
user=root