RHEL 5 telnet配置
来源:互联网 发布:mac系统用什么美图软件 编辑:程序博客网 时间:2024/04/28 20:25
首先说一下环境
服务器系统linux RHEL AS 5
IP:192 .168.1.100
安装telnet需要如下两个软件
1.telnet客户端程序
2.telnet服务器程序
在安装之前需要先查看这些软件包的安装情况
[root@localhost ~]# rpm -qa|grep telnet
如出现以下输出,则无需再次安装,直接配置就可使用。
telnet-0.17-38.el5
telnet-server-0.17-38.el5
如果没有检测到软件包,则需要进行安装,我的这个默认就只安装telnet-0.17-38.el5,由于我也是个新手,在安装的过程中出现过很多问题,现在拿出来和大家分享一下。
第一个要解决的就是安装 telnet-server-0.17-38.el5,在系统盘的server中找到该安装包,在安装此包时出现了以下问题
[root@localhost Desktop]# rpm -ivh telnet-server-0.17-38.el5.i386.rpm
warning: telnet-server-0.17-38.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
xinetd is needed by telnet-server-0.17-38.el5.i386
在网上一顿狂搜,终于找到了解决的方法,原来是因为telnet-server安装时必须信赖于xinetd,我的系统里没有安装这个软件包,于是又拿出光盘完成xinetd的安装,并打开xinetd服务。然后顺利完成telnet-server的安装。
接下来要做的是
打开telnet的相关服务
在命令行中输入
# ntsysv
将krb5-telnet服务选中
重新启动xinetd
# service xinetd restart
停止 xinetd: [确定]
启动 xinetd: [确定]
测试发现
# telnet 192.168.1.100
Trying 192.168.1.100...
Connected to (192.168.1.100).
Escape character is '^]'.
Unencrypted connection refused. Goodbye.
Connection closed by foreign host.
又出问题,怎么不让foreign host连接呢,于是我想到了防火 墙,果然防火墙中拒绝了telnet。setup命令可以进行防火墙设置,改过后,重试发现,问题依旧。突然间注意到了上面的那行英语(Unencrypted connection refused.)大楖的意思是封装连接拒绝什么 的,这个我就不太懂了,只能上网查了,网络啊,果然功能强大,很快便 找到了解决方法,
老外写的一个解决方法:I really needed a bit of guidance and you provided it./sbin/chkconfig --list |grep telnetThe 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 telnet off Thanks for your help.
大概意思就是因为这个ekrb5与krb5冲突,系统无法正确加密,于是试着取消ekrb5-telnet服务,
重启xinetd服务,
测试
[root@localhost ~]# telnet 192.168.1.100
Trying 192.168.1.100...
Connected to (192.168.1.100).
Escape character is '^]'.
localhost.localdomain (Linux release 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007) (1)
login:
配置成功完成!
虽说telnet由于安全性的问题基本上己被ssh取代,但学习一下,收获还是很大的。
- RHEL 5 telnet配置
- rhel 5 配置telnet
- RHEL-5 telnet安装步骤
- RHEL server 5.5 telnet安装和配置
- rhel telnet
- rhel 5 ftp配置
- RHEL 5 VSFTP 配置
- RHEL 5 配置NFS
- RHEL 5 VSFTP 配置
- RHEL TELNET服务器架设
- rhel 5 配置防火防火墙
- RHEL 5下配置samba过程记录
- RHEL 5 虚拟机环境网络配置
- 如何启动RHEL AS4.8的telnet?
- RHEL AS4.8如何启动telnet
- telnet配置
- telnet配置
- 配置Telnet
- Verilog存储器memory详解
- 中国十大令人寒心的冷笑话
- C++ STL中哈希表 hash_map介绍
- 小细节大问题——程序的效率
- Visual Studio 2005下wxWidgets环境搭建
- RHEL 5 telnet配置
- RichFaces要点Chapter04
- 如何画出天天动听那样的待机歌词显示?
- Oracle和SQL Server在事务处理上的区别
- 分页存储过程 From Bndy.Net
- OpenFTPClient1.1发布
- GIMP,媲美PhotoShop的优秀开源图像处理软件
- Visual Studio 控件命名规范
- 聚类的一些评价手段