I just installed VirtualBox on my mac, created a new Ubuntu Virtual Machine with "Use an existing virtual hard disk file" of the Cloudera Hadoop disk image. I'm able to start and run the virtual machine, however, I'd prefer to ssh into from my terminal. The following produces the message "connect to host 127.0.0.1 port 2222: Connection refused":
ssh email@example.com -p 2222
I've also tried -p 22
I've also tried using "cloudera" as the user. Is there a VirtualBox setting I need to change to allow SSH?
I've also just tried to create a new linux virtual machine without using Cloudera disk image, and I can SSH into that either.