> /etc/securettydonesystemctl restart telnet.socketsystemctl restart xinetdsystemctl enab_mobaxterm tel">
赞
踩
添加3个终端到系统安全终端配置文件,重启服务
yum -y install telnet-server xinetd
cp /etc/securetty /etc/securetty.bak
for i in {1..3};do
echo "pts/$i" >> /etc/securetty
done
systemctl restart telnet.socket
systemctl restart xinetd
systemctl enable telnet.socket
systemctl enable xinetd
ss -atunlp|grep 23
添加session选择Telnet输入主机IP和登录用户名,端口默认23
输入root密码后登录成功
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。