I am trying apache-drillwith Sandbox by MapR following documentation. I installed virtual machine from VMPlayer and opened a vm MapR-Sandbox-For-Apache-Drill-1.0.0-4.1.0-vmware.ova.

After login, it got started successfully. Then I tried to ssh this vm from my local machine following tutorial using command:

ssh mapr@localhost -p 2222

But I got the error

ssh: connect to host localhost port 2222: Connection refused

How can I resolve it?

  • Did you double-check the VM settings to ensure that NAT port forwarding is enabled? Can you SSH into localhost inside the VM itself? – Breakthrough Jun 22 '15 at 5:13
  • @dev : Check whether SSH is installed or not? – Renju Chandran chingath Jun 22 '15 at 5:34
  • @RenjuChandranchingath ssh is installed, – dev ツ Jun 23 '15 at 4:42

As I am trying to ssh from my local machine to VM, so instead of ssh mapr@localhost -p 2222 command would br ssh mapr@<IP of VM> -p 2222

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.