windows 下使用telnet连接virtualbox中的centos7

确保你的windows已经启动telnet客户端。默认不启动。
在控制面板,程序和功能中添加telnet

windows 下使用telnet连接virtualbox中的centos7
(1)网络使用桥接网卡设置
windows 下使用telnet连接virtualbox中的centos7

(2) 启动centos7,在终端输入yum install telnet-server -y;yum install xinetd -y,安装过就不用安装了。
(3) 安装完毕后输入systemctl enable telnet.socket;system enable xinetd.service
(4) 输入systemctl start telnet.socket;systemctl start xinetd。
(5)mv /etc/securetty /etc/securetty.bak 使root用户可以远程登录。

windows 下使用telnet连接virtualbox中的centos7

(6)iptables -F 关闭防火墙。
(7)使用ifconfig查看虚拟机当前ip地址。windows 下win+R 使用telnet 连接。

windows 下使用telnet连接virtualbox中的centos7

windows 下使用telnet连接virtualbox中的centos7

相关文章:

  • 2022-12-23
  • 2022-01-15
  • 2021-08-27
  • 2022-12-23
  • 2021-07-29
  • 2021-06-29
  • 2021-09-22
  • 2022-01-06
猜你喜欢
  • 2021-06-07
  • 2021-12-18
  • 2022-02-16
  • 2021-11-28
  • 2021-11-26
  • 2021-04-03
相关资源
相似解决方案