You need first enable ssh on remote.
Log in to your virtual using Vmware Console as root
then run the following
mv /etc/init/ssh.conf.back /etc/init/ssh.conf
you should be able to log in now.
*There is a restrictions set up in sshd.config that you can log as root but only without password.
In case or problems also check if you have firewall rule enabled by running the followin
ufw status and see if port 22 is allowed to connect