while read line
do ./sshpass -p 密码 ssh root@$line “ls”
done<./backup
while read line ;do /usr/bin/sshpass -p 密码 ssh root@128.199.114.243 “ls”;
done <./ip.list
for i in `cat ip.list` ;do /usr/bin/sshpass -p 密码 ssh root@128.199.114.243 “ls”;
done
/usr/bin/sshpass -p 密码 scp file 128.199.114.243:/root 复制文件
/usr/bin/sshpass -p 密码 ssh root@128.199.114.243 “ls” 执行命令