Use Kitty to connect Linux virtual machine - huwenyuan/Linux GitHub Wiki
In virtual machine setting, the Network Adaptor should set as "NAT".
In host machine, select network "Wi-Fi" (or any interface with Internet connection), in "Sharing" tab check "Allow other network users to connect through this computer's Internet connection, and select "VMware Network Adaptor VMnet8" from the drop down list.
In host machine, select network "VMware Network Adaptor VMnet8" and configure it to DHCP. (Maybe this step is not necessary, because after DHCP the IP of VMnet8 is still 192.168.179.1, and the Wi-Fi IP is 192.168.2.82).
In virtual machine, run sudo apt-get install openssh-server.