本文摘自PHP中文网,作者PHP中文网,侵删。
失败原因:1.telnet包未安装,检查telnet包是否安装:
1 2 | [root@vm-rhel root]# rpm -qa telnet
telnet-0.17-25
|
表示已安装
2.telnet包已安装,telnet-server未安装,检查telnet-server包是否安装:
1 2 | [root@vm-rhel root]# rpm -qa telnet-server
telnet-server-0.17-25
|
表示已安装
3.telnet配置文件问题:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [root@vm-rhel root]# cat /etc/xinetd.d/telnet
# default : on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}
|
将disable对应的值修改为no或者注释该行并重启xinetd守护进程:service xinetd restart。
4.Linux防火墙原因,查看防火墙状态:
[root@vm-rhel root]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
阅读剩余部分
相关阅读 >>
linux系统里php报错404
linux命令在哪
bin文件linux怎么打开
linux中如何查看mysql的安装位置
如何查看linux系统配置
常用vim操作的实例详解
linux中如何查看mysql服务是否启动
什么是linux内核
如何在linux上编译和运行c和c++程序
linux备份文件命令有哪些?
更多相关阅读请进入《redhat》频道 >>
转载请注明出处:木庄网络博客 » telnet到RedHat Linux失败原因、解决方法
扫码打赏,您说多少就多少
打开支付宝扫一扫,即可进行扫码打赏哦
分享从这里开始,精彩与您同在