When the sandbox with Vmware run, it actually use port 22. However non of services such as ambari-server works. even commands like ifconfig or ambari-admin-password-reset work.
With SSH command, I can use either port 22 or 2222. Each connects to different files.
With SSH to port 2222, all the services and commands work.
I also wanted to ask a question about -P switch in SCP command. however I discovered the problem caused by not using capital P!
Did you try using 2222? That is the correct port to connect unlike standard 22 port. You can access those very basic commands like hdfs/ambari-admin-password-reset ...etc only when you connect to that port 2222.
# ssh email@example.com -p 2222
Hey Jay. yes I did. It doesnt work:
ssh: connect to host 127.0.0.1 port 2222: Connection refused
I guess Virtualbox and Docker use hots 127.0.0.1. I am using Vmware and it suggest a different host.