1>编辑telent的配置文件/etc/xinetd.d/telnet 如下: (设置disable = no,也就是开启telnet服务)
service telnet { disable = no
socket_type = stream
server = /usr/sbin/in.telnetd
# server_args =
protocol = tcp
user = root
wait = no }
2> 配置文件改好后重启服务即可: service xinetd restart
转载于:https://www.cnblogs.com/zwl715/p/3724994.html