日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux开启telnet服务

發布時間:2024/1/17 linux 31 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux开启telnet服务 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

步驟:

    • sudo apt-get install xinetd telnetd???? 安裝成功后,系統會顯示有相應得提示
    • sudo vim /etc/inetd.conf? 并加入內容:? telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
    • 輸入sudo vim /etc/xinetd.conf并加入內容:
# Simple configuration file for xinetd # Some defaults, and include /etc/xinetd.d/ defaults{# Please note that you need a log_type line to be able to use log_on_success# and log_on_failure. The default is the following :# log_type = SYSLOG daemon infoinstances = 60log_type = SYSLOG authprivlog_on_success = HOST PIDlog_on_failure = HOSTcps = 25 30}includedir /etc/xinetd.d
    • sudo vim /etc/xinetd.d/telnet并加入以下內容:
# default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet{ disable = noflags = REUSEsocket_type = streamwait = nouser = rootserver = /usr/sbin/in.telnetdlog_on_failure += USERID}
  • 重啟機器或重啟網絡服務sudo /etc/init.d/xinetd restart
  • telnet localhost 23 測試

轉載于:https://www.cnblogs.com/yepei/p/6106986.html

總結

以上是生活随笔為你收集整理的linux开启telnet服务的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。