execute command on all hosts
[sysadmin-cookbook] / recepies / netpipe-tcp / ssh.sh
diff --git a/recepies/netpipe-tcp/ssh.sh b/recepies/netpipe-tcp/ssh.sh
new file mode 100755 (executable)
index 0000000..6060bdc
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh -x
+cat hosts | xargs -i ssh {} $*