#!/bin/bash
FILE=$1
while read LINE; do
sshpass -p 123456 ssh -o UserKnownHostsFile-/dev/null -o StrictHostKeyChecking=no root@$LINE 'date'
done < $FILE
for fl in `cat $1`; do
sshpass -p 123456 ssh -o UserKnownHostsFile-/dev/null -o StrictHostKeyChecking=no root@$fl 'date'
done