1、 ifconfig 查看ip ----- window ipconfig
2、sudo su
3、 ssh root@虚拟机ip地址
Mac终端ssh连接VMware 虚拟机
原文:https://www.cnblogs.com/yang-kk/p/14716208.html