赞
踩
- yum -y install telnet-server.x86_64
- yum -y install telnet.x86_64
- yum -y install xinetd.x86_64
-
- vim /etc/securetty
- 最后一行添加:pts/0 和 pts/1
-
- systemctl enable xinetd.service
- systemctl enable telnet.socket
-
- systemctl start telnet.socket
- systemctl start xinetd
-
- 开放23端口号
- firewall-cmd --permanent --add-port=23/tcp
- firewall-cmd --reload
-
- 查看Telnet的日志信息
- tail -f /var/log/secure
/etc/issue #登录前提示
/etc/motd #登录后提示
欢迎语:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。