Disable and Turn Off Telnet in Linux禁用和關閉在Linux的Telnet
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.然而,遠程登錄已經慢慢取代的SSH (安全殼)協議,由於安全風險作為數據傳輸的數據包,其中包括登錄的用戶名和密碼加密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服務器訂閱一些網站託管服務提供商已禁用遠程登錄違約。 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 如何禁用遠程登錄
- 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 /遠程登錄
- 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遠程登錄關閉
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相關文章
- Disable and Turn Off (or Enable or Turn On) Data Execution Prevention (DEP) in Windows Vista禁用和關閉(或啟用或打開)數據執行保護( DEP )在Windows Vista
- Disable or Turn Off (Or Enable and Turn On) Windows Vista Internet Explorer 7 (IE7) Protected Mode禁用或關閉(或啟用並打開) Windows Vista中的Internet Explorer 7 ( 7 )保護模式
- Disable and Turn Off Vista SuperFetch禁用和關閉Vista的SuperFetch
- Remove, Disable and Turn Off Yahoo!刪除,禁用和關閉的Yahoo ! Messenger Ads信使廣告
- Turn Off and On UAC or Disable Elevation Prompt with TweakUAC關閉和UAC功能或禁用海拔迅速與TweakUAC
- Disable and Turn Off IPv6 Support in Vista禁用和關閉IPv6支持在Vista
- How to Turn Off and Disable Thumbnail Preview in Vista如何關閉並禁用縮略圖預覽在Vista
- How to Turn Off and Disable Hibernation in Windows Vista如何關閉並禁用休眠狀態在Windows Vista
- Disable or Turn Off Windows XP Security Center Permanently禁用或關閉Windows XP安全中心永久
- Disable and Turn Off ClearType Fonts in Windows Vista禁用和關閉ClearType字體在Windows Vista
































