Disable and Turn Off Telnet in Linux禁用和关闭的Telnet在Linux
Telnet is an unsecured network protocol that facilitates remote login to a server via network connection. Telnet是不安全的网路通讯协定,有利于远程登录到服务器通过网络连接。 The protocol allows server to be located thousands of miles away from the administrator yet still can be managed even without physical console access.该议定书允许服务器位于远在千里之外的从管理员,但仍可以加以管理,即使没有物理访问控制台。 However, Telnet has slowly replaced with SSH (Secure Shell) protocol due to security risks as the data transmission packet, including login username and password for Telnet is unencrypted, allowing hackers or crackers to easily sniff and obtain these information easily.然而, Telnet工作已经慢慢取代的SSH (安全shell )议定书,由于安全风险,作为数据传输的数据包,包括登录用户名和密码, Telnet是加密,让黑客或黑客轻易地嗅出和获取这些信息很容易。
So it’sa good practice to disable Telnet service on server, especially web server which reachable from Internet, and replaced with SSH.因此,这是好的做法要禁用Telnet服务在服务器上,尤其是Web伺服器,这可从网际网路,以及取代的SSH 。 For web servers that are subscribed from some web hosting providers has Telnet disabled by default. Web服务器是从订阅的一些网页主机提供的Telnet已默认情况下禁用。 Webmasters or system administrators can网站管理员或系统管理员可以 verify if the Telnet service is turned off核实,如果Telnet服务是关闭的 . 。 If it’s still running, the following guide will provide steps to disable and turn off Telnet service.如果它还是在运行,以下指南将提供步骤来停用,并关闭Telnet服务。 Telnet server listens for incoming messages on port 23, and sends outgoing messages to port 23. Telnet服务器侦听传入的邮件对端口23 ,并传送外寄邮件到端口23 。
How to Disable Telnet 如何禁用的Telnet
- SSH into server and login as root.到SSH的服务器和以root登入。
- At shell command prompt type the following command and press Enter.在Shell命令提示符下,键入以下命令,并按下Enter键。 This example use pico to edit text file, you can use vi or other text editor if you want.这个例子使用微微编辑文本文件,您可以使用六或其他文本编辑器,如果你想。
pico -w /etc/xinetd.d/telnet微微瓦特的/ etc / xinetd.d / Telnet工作
- Locate the following line:找到以下行:
disable = no禁用=没有
Change the “disable = no” to “disable = yes” (no to yes).改变“禁用=无”到“禁用=是” (不为Yes ) 。
- Save and exit.保存并退出。
- Restart the inetd service by using the following command:重新启动inetd会服务,通过使用以下命令:
/etc/rc.d/init.d/xinetd restart在/ etc / rc.d / init.d /的xinetd重新启动
- Turn off Telnet through chkconfig as well because it can still start through that:关闭的Telnet通过chkconfig ,以及因为它仍然可以开始通过:
/sbin/chkconfig telnet off / sbin / chkconfig的Telnet小康
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article英文原版的文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 . 。
Related Articles相关文章
- Enable and Install Telnet Client in Vista启用和安装Telnet客户端在Vista
- How to Check if Telnet Is Running on a Server如何检查,如果Telnet是运行在服务器上
- Install and Enable Telnet Server Service in Windows Vista安装并启用Telnet服务器服务在Windows Vista
- How to Enable and Turn On Hibernation Feature in Windows Vista如何启用并打开休眠功能在Windows Vista
- Ways to Turn Off and Disable Vista IE 7 Protected Mode如何关闭和禁用Vista的IE 7的保护模式
- Temporarily Disable IE7 Protected Mode in Vista on Ad-hoc Basis暂时停用的IE7保护模式在Vista上特设的基础
- How to Disable or Enable Vista User Access Control in Command Prompt如何禁用或启用Vista的使用者存取控制在命令提示符
- Turn Off and Disable Search Indexing Service in Windows XP关闭并禁用搜索索引服务在Windows XP
- Running Google Earth on Suse Linux with VMware Google地球运行在SuSE Linux上使用VMware
- Disable or Enable Backspace as ‘Go Back’ Page Browsing Function in Firefox禁用或启用退'回去'的网页浏览功能,在Firefox















