在Debian系统中,Telnet服务默认是关闭的
sudo apt-get update
sudo apt-get install telnet
sudo systemctl status telnet
如果服务未运行,你会看到类似 “inactive (dead)” 的输出。
sudo systemctl start telnet
sudo systemctl enable telnet
sudo systemctl status telnet
命令确认服务已启动并运行。请注意,Telnet协议存在安全风险,因此在某些情况下,建议使用更安全的替代方案,如SSH。要在Debian系统中安装SSH服务器,请使用以下命令:
sudo apt-get update
sudo apt-get install openssh-server
然后按照上述步骤检查和启动SSH服务。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
相关推荐:Debian如何开启Telnet服务