一、基础概念
二、禁用Telnet的优势
三、禁用Telnet的类型(方式)
sudo systemctl stop telnet.socket
(对于基于socket激活的Telnet服务)或者sudo systemctl stop telnetd
(如果存在这个服务单元)。sudo systemctl disable telnet.socket
和sudo systemctl disable telnetd
。sudo iptables -A INPUT -p tcp --dport 23 -j DROP
。这会在INPUT链中添加一条规则,丢弃所有目标端口为23的TCP数据包。四、应用场景
五、可能遇到的问题及解决方法
领取专属 10元无门槛券
手把手带您无忧上云