ITPub博客

首页 > Linux操作系统 > Linux操作系统 > telnet登录没有反映

telnet登录没有反映

原创 Linux操作系统 作者:tonykorn97 时间:2007-07-07 00:00:00 0 删除 编辑

操作系统: redhat5

在windows下面telnet登录直接就退出了,用SecureCRT登录软件就自动退出了。

在本机登录报:


[root@test xinetd.d]# telnet 172.25.1.3
Trying 172.25.1.3...
Connected to 172.25.1.3 (172.25.1.3).
Escape character is '^]'.
getnameinfo: localhost: Success
Temporary failure in name resolution: Illegal seek
Connection closed by foreign host.
[root@test xinetd.d]#

此时在本地用主机名登陆时可以的
[root@test xinetd.d]# telnet test
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel 2.6.18-8.el5 on an i686
login: root
Password:
Last login: Sat Jul 7 00:29:27 from 172.25.20.205
[root@test ~]#

在/etc/hosts里面增加一条
172.25.1.3 test
就可以了

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-245719/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088833