1、本地机器安装 perl的Net::Telnet模块(安装方法见: http://www.litvip.com/541/ ) 最简单的方法是: yum -y install perl-Net-Telnet 2、远程服务器安装telnet(安装方法见: http://tech.ccidnet.com/art/321/20070430/1074877_1.html)