Kali Linux 开启Telnet
安装telnetd
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073302171-1868842923.png)
安装xinetd
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073302076-1898529969.png)
查看服务启动状态
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073301959-1439471245.png)
编辑/etc/inetd.conf
在文件末尾加上
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
}
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073302536-402328561.png)
重启服务
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073301829-1759617347.png)
检测一下是否可用
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073302505-136951990.png)
在Windows上使用Xshell登录即可
![](https://img2022.cnblogs.com/blog/2236821/202205/2236821-20220519073302341-1198618799.png)
本文来自博客园,作者:NoCirc1e,转载请注明原文链接:https://www.cnblogs.com/NoCirc1e/p/16287126.html