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

posted @ 2014-03-10 14:36  规格严格-功夫到家  阅读(331)  评论(0编辑  收藏  举报