Linux Essentials - Working Script

main.sh

CMD=$1
cat ips|while read LINE
do
  echo $CMD
  ssh itversity@${LINE} "${CMD}" < /dev/null
done

Make sure you have a file with name ips which will have all ip addresses

192.168.100.130
192.168.100.131
192.168.100.132
192.168.100.133
192.168.100.134
192.168.100.135