kaliLinux 安装 telnet
一、安装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
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步