Some of the practices described in this HOWTO are considered to be illegal as they often break internal corporate policies. Anything you do, you do at your own risk.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap exit SIGINT SIGTERM | |
sshcmd="ssh -q -o StrictHostKeyChecking=no" | |
hostlist="" | |
username="" | |
outfile="" | |
totalhosts=0 | |
while getopts :u:f:o:h arg ; do | |
case $arg in | |
u) |