安装telnet服务

安装telnet服务

 

配置并启动Telnet,xinetd和telnet必须设置开机启动,否则无法启动Telnet服务

systemctl enable xinetd.service

systemctl enable telnet.socket

接下来启动服务

systemctl start telnet.socket

systemctl start xinetd

默认Root无法远程访问,因此需要修改以下配置文件/etc/securetty

vi /etc/securetty

在末尾添加

pts/0

pts/1

 

保存退出,输入以下命令查看Telnet是否配置成功,出现下图信息代表可以正常访问Linux了。

tail -f /var/log/secure

 

 

原文地址:https://www.cnblogs.com/mscar/p/12963783.html