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

  1. SSH into server and login as root.到SSH的服务器和以root登入。
  2. 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工作

  3. Locate the following line:找到以下行:

    disable = no禁用=没有

    Change the “disable = no” to “disable = yes” (no to yes).改变“禁用=无”到“禁用=是” (不为Yes ) 。

  4. Save and exit.保存并退出。
  5. Restart the inetd service by using the following command:重新启动inetd会服务,通过使用以下命令:

    /etc/rc.d/init.d/xinetd restart在/ etc / rc.d / init.d /的xinetd重新启动

  6. 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 我的数字生活论坛 .



Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

telnet linux Telnet工作的Linux - - linux telnet Linux的Telnet工作 - - enable telnet on linux 使在Linux上的Telnet - - disable telnet linux 禁用的Telnet的Linux - - enable telnet in linux 使在Linux的Telnet - - disabling telnet in linux 禁用的Telnet在Linux - - how to enable port 23 in linux 如何启用端口23在Linux - - how to enable port 23 linux 如何使Linux的端口23 - - enable telnet on linux suse Telnet工作,使在Linux上的SuSE - - turn off telnet linux 关闭的Telnet的Linux - - how to disable telnet on linux 如何禁用的Telnet在Linux上 - - enable telnet in suse linux 使的Telnet在SuSE Linux的 - - disable telnet service linux 禁用Telnet服务的Linux - - how to activate telnet port suse linux 如何激活的Telnet港口的SuSE Linux - - enable telnet access linux 使的Telnet访问的Linux - - how to disable telnet in linux 如何禁用的Telnet在Linux - - telnet in linux 在Linux的Telnet - - disable telnet in linux 禁用的Telnet在Linux - - how to turn off telnet on windows? 如何关闭的Telnet在Windows呢? - - enable telnet access in linux 使的Telnet访问在Linux - - how to disable telnet 如何禁用的Telnet - - unable to login from telnet from windows to linux 无法登录的Telnet从从Windows向Linux - - activate telnet in linux 激活的Telnet在Linux - - enable telnet in linux AS v 4 Telnet工作,使在Linux为V 4 - - linux enable ports Linux的使港口 - - turn off telnet 关闭的Telnet - - how to telnet with linux 如何与Linux的Telnet - - disabling telnet on linux 禁用的Telnet在Linux上 - - telnet unsecure 不安全的Telnet - - linux how to disable telnet Linux的如何禁用的Telnet - - linux enable secure telnet Linux的启用安全的Telnet - - disable telnet on linux 禁用的Telnet在Linux上 - - enable disable telnet linux 使禁用的Telnet的Linux - - how access my linux by telnet 如何访问我的Linux的Telnet工作 - - suse linux telnet SuSE Linux的Telnet工作 - - how to check the telnet enabled in linux system 如何检查的Telnet ,使在Linux系统 - - Linux disable telnet Linux的禁用的Telnet - - telnet on linux 在Linux上的Telnet - - disable telnet linux suse 禁用的Telnet的Linux的SuSE - - how to configure telnet in linux 如何配置的Telnet在Linux - - suse enable telnet 使的SuSE的Telnet - - Turning Off Telnet Services + Linux 关闭的Telnet服务+ Linux的 - - enable telnet on suse linux server 使的Telnet在SuSE Linux服务器 - - change telnet port suse 改变的Telnet港口的SuSE - - check the port no is enable through telnet 检查港口是让没有通过telnet - - disable telnet client in linux 禁用Telnet客户端在Linux - - download services telnet linux 下载服务的Telnet的Linux - - how to activate telnet service linux 如何激活Telnet服务的Linux - - how to enable telnet server Linux 如何使Telnet服务器的Linux - - how to change login and password for telnet in linux 如何更改登录名和密码适用于Telnet的在Linux - -