Problems encountered:
On widows, the Ubantu is installed through the virtual machine and is intended to connect the Ubantu on the virtual machine with Xshell, but it has not been successful.
Workaround:
1, first judge, the virtual machine on the Ubantu SSH has not started
Command line:#ps-e | grep ssh
If there is a start, you will see the word "sshd", such as:
If you do not see it, you may not have started "ssh" and tried to start "ssh":
Command line:#/etc/init.d/ssh start
If you do not have SSH installed, you will be prompted for "failed" and "Failed".
2. Install "SSH"
Command line:sudo apt-get install openssh-server
Wait for the installation to complete.
3. After successful installation, repeat step "1".
Check if "SSH" is started, command line:#ps-e | grep ssh
If successful, you can try to connect the Ubantu (Vm-ubantu) of the virtual machine using Xshell in Windows.
Windows can ping the Vm-ubantu, but Xshell failed to connect Vm-ubantu