Check that the ssh service is installed on the virtual machine, that it works correctly, and that it only works on port 4242.
To see if ssh is present:
which ssh
To see if is running:
sudo service ssh status
Last updated 2 years ago