The possibility could be, the SSH might not be enabled on your server.
- Check sudo systemctl status ssh is Active or not.
- If it’s not active, try installing with the help of these commands
sudo apt update
sudo apt install openssh-server
i try to connecte from my windows 10 operating system to virtual centos oprating system installed on wmware workstation ,