@grissess batch scripts for the ITL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
222 B

command="$(cat subcommand/kill.sh)"
for host in $(cat all_addrs); do
sshpass -p"$2" ssh "${1}@${host}" -p 13699 -o StrictHostKeyChecking=no -o PubkeyAuthentication=no "$command" 2>> /tmp/batch_errors &