The CSSHX App for Mac is seriously handy…

…for SSH’ing into multiple machines at once. It opens a new terminal window for each ssh connection host you provide it in a tiled configuration (By default)

http://www.brock-family.org/gavin/macosx/csshX-pod.html

Simply place it in a function in your .bash_profile with the IPs you want to connect to and voila!

For example :

function ssh-hosts() {

       ~/csshX-master/csshX 10.10.10.1 10.10.10.2 10.10.10.3 10.10.10.4

}

After running “source .bash_profile” for your shell to re-read your .bash_profile, typing “ssh-hosts” will connect to the 4 IPs you provided, open up 4 ssh windows, and a single “master” window for controlling all 4 ssh sessions. Brilliant!