1. Check whether to start ssh, sshd explain if there has been started
sudo ps -e | grep ssh
2. Start the ssh service
sudo service ssh start
3. If the second step does not start successfully, you need to install ssh service
sudo apt-get install openssh-server
4. Check whether the installation is successful ssh
ssh -V
xshell connect virtual machines
Bridge mode selection, so that the virtual machine just as in a local gateway, the local will be able to ping, Xshell able to connect the local virtual machine