标签:required send service expect login inter ssh int conf
shutdown_telnet.sh
explujing=/home/shutdown_telnet.exp
username=root
password=123456
iplist="
192.167.1.1
192.167.1.2
"
port=22
for ip in $iplist
do
$explujing $ip $username $password $port
done
#-------------------------------------
shutdown_telnet.exp
标签:required send service expect login inter ssh int conf
原文地址:https://www.cnblogs.com/xl-892694298/p/11018762.html