Linux系统telnet服务设置大全(1)(4)
六、telnet服务启动
- 因为telnet服务是由xinetd调用,所以只要重新启动xinetd即可
- [root@rhel52 /]# service xinetd restart
- Stopping xinetd: [ OK ]
- Starting xinetd: [ OK ]
- [root@rhel52 /]#
七、telnet服务测试
- Microsoft Windows [版本 6.1.7100]
- 版权所有 (c) 2009 Microsoft Corporation.保留所有权利.
- C:\>telnet 192.168.238.220
- 正在连接192.168.238.220...
- Red Hat Enterprise Linux Server release 5 (Tikanga)
- Kernel 2.6.18-8.el5 on an i686
- login: root
- Password:
- Last login: Sat Aug 1 22:47:15 from 192.168.238.1
- [root@rhel52 ~]#
八、telnet端口更改
- 设定配置文件/etc/services
- [root@CentOS5 /]#vi /etc/services
找到下面的两行:
- telnet 23/tcp
- telnet 23/udp
评论暂时关闭