Telnet自动登录

http://zw7534313.iteye.com/blog/1603808

http://network.51cto.com/art/201007/212255_all.htm

 

(s=`stty -g`
stty raw -echo
sleep 1
echo ***
sleep 1
echo ***
sleep 1
echo quit
sleep 1
stty $s
)|telnet 192.168.140.** | cat

你可能感兴趣的:(telnet)