1、[root@localhost~]#telnet
bash:telnet:commandnotfound
2、查询了是否安装Telnet包,结果如下:
[root@localhost~]#rpm-qatelnet*
telnet-server-0.17-47.el6.i686
3、又查询了xinetd的状态:
[root@localhost~]#servicexinetdstatus
xinetd(pid2967)正在运行...
4、使用ntsysv命令,开启了Telnet服务;同时,也查看/etc/xinetd.d/telnet文件,将将“disable=yes”改为“disable=no”;也重启了服务[root@CentOS5/]#servicexinetdrestart
在系统服务里面,也查看过,telnet服务和xinetd也都是工作状态。
解决方式,重装一下telnet客户端。 centos、ubuntu
yumlisttelnet*查看telnet相关的安装包
yuminstalltelnet-server安装telnet服务
yuminstalltelnet.*安装telnet客户端