一、安裝xinetd telnetd
root@helm:~# apt-get install xinetd telnetd
二、查看服務是否啟動狀態
說明自啟動了
如果沒有需要啟動xinetd,啟動命令:/etc/init.d/xinetd start
三、創建並編輯/etc/inetd.conf文件
四、編輯/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 info
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd
然后重啟服務
五、測試
六、PUTTY.EXE 登陸telnet