1.安装openssh-server
2.虚拟机ifconfig查看ip
3.查看window的ip ipconfig
4.ubuntu网络设置
5.vmware-编辑-虚拟网络编辑器
6.xshell连接即可