@zhangyy
2020-05-13T12:31:19.000000Z
字数 202
阅读 99
运维系列
有用网址:
连接脚本:
vim ssh_do_all.sh
---
#! /bin/bash
for n in `cat $1`
do
ssh -t $n $2
done
---
vim node.list
----
rhel01.flyfish
rhel02.flyfish
rhel03.flyfish
----
./ssh_do_all.sh node.list "ls /root"