1. Change your network adapter settings
The following illustration is my own adapter settings:
After I change this, I can xshell to Linux.
NAT Connection mode:
http://blog.csdn.net/exziro/article/details/52969305
Here are the meanings of the various patterns (content from: http://blog.csdn.net/u012454079/article/details/48522611):
Nat mode: All data that accesses a network in a virtual machine is provided by the host, and the virtual machine is not real. Virtual machines in this way can access the host, and other hosts on the network, but the host cannot access the virtual machines, and the individual virtual machines are independent and unable to access each other.
Bridging mode: Bridge access through the host network card set up a bridge, which directly connected to the network, such a virtual opportunity is assigned to a separate IP. In this way, virtual machines and hosts can access each other via IP.
Internal network mode: Internal network mode is virtual machine and extranet disconnected, only the internal network between virtual machines and virtual machines is implemented.
3, start SSH service
Service SSH Start
4, the firewall is not closed (should be the last resort)
Enter the following command:
Service Iptables Stop
Chkconfig iptables off