在一台服务器上批量 telnet 其它服务器–pass

vi telnet.sh
#!/bin/bash
ipaddress[0]=”27.131.221.1″
ipaddress[1]=”27.131.221.1″
for I in ${ipaddress[@]}
do
{
echo “quit” | telnet “$I” 80
}
done
exit 0