What if I can ping but ssh cannot connect to the virtual machine?

Host ping passes through the virtual machine, but ssh cannot connect:

clipboard.png

ssh openssh-server

clipboard.png

I express helplessness! It was fine before, but suddenly I rebooted the virtual machine and that"s it! How to solve this?

May.07,2022

the problem has been resolved. sshd service not started! Execute the following command:

sudo service sshd restart
Menu