Skip to main content
Home
badllama.com
  • Search
  • Log In

ClusterSSH with a Vertical List of IP Addresses

bchavet's picture

Fri, 01/06/2012 - 10:10 by bchavet

This wrapper for cssh allows you to copy/paste a vertical list of IP addresses onto the command line, such as from a spreadsheet.

#!/bin/bash
echo "$@" | xargs /usr/bin/cssh &

Usage Example:

$ cssh '1.2.3.4
1.2.3.5
1.2.3.6
1.2.3.7'
Powered by Backdrop CMS