打开Vmware,首先将网络设置为NAT模式(步骤省略)
开启ssh服务 service ssh start 查看状态 service ssh status 设置开机自启 systemctl enable ssh
然后依次点击 编辑 - 虚拟网络编辑器->接着进行如下设置
重启即可!