Chinaunix首页 | 论坛 | 博客
  • 博客访问: 568099
  • 博文数量: 44
  • 博客积分: 5017
  • 博客等级: 大校
  • 技术积分: 508
  • 用 户 组: 普通用户
  • 注册时间: 2006-10-17 16:03
文章分类

全部博文(44)

文章存档

2011年(1)

2010年(1)

2009年(1)

2008年(5)

2007年(22)

2006年(14)

我的朋友

分类: LINUX

2006-11-06 11:35:26

    今天遇到这样一个telnet连接的怪异问题,问题是:使用telnet连接的时候报如下错
# telnet 10.133.128.70
Trying 10.133.128.70...
Connected to zxj_db1 (10.133.128.70).
Escape character is '^]'.
Unencrypted connection refused. Goodbye.

Connection closed by foreign host.

看错误信息好像是说的为加密的连接被拒绝,查看了他的配置文件也没发现有什么关于加密的选项,而且配置文件也很正确,于是到google上去搜索了一大圈,最后终于找到一个老外写的一个解决方法:

I really needed a bit of guidance and you provided it.



/sbin/chkconfig --list |grep telnet



The above command told me I had both krb5-telnet and ekrb5-telnet, and
also the installed telnet all on. Initially I did not know what they
were all for. After turning them on and off and testing my telnet
connection from another box I realised that "ekrb5-telnet" was the
encrypted telnet server that I needed to turn off to run "krb-telnet"
which allowed non-encrypted telnet connections.



eg /sbin/chkconfig ekrb5-telnet off



Thanks for your help.

原来在系统里面把ekrb5-telnet这个服务也启动了,ekrb5-telnet是一个需要加密的telnet服务,把这个服务启动上当然就需要加密了。


解决方法:

将/etc/xinetd.d/ekrb5-telnet里面的disable改成=yes,再重启xinetd服务就OK了!



阅读(2961) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~