checks the status of a vm before giving ssh instructions, closes #170