Virtualbox box NAT osx SSH

By Tech Writer How to
  Host IP: 127.0.0.1Host Port: 2222Guest IP: 10.0.2.15Guest Port: 22Then enable ssh in the guest, and I'm able to connect from the host using:ssh -p 2222 root@127.0.0.1  

 

Host IP: 127.0.0.1
Host Port: 2222
Guest IP: 10.0.2.15
Guest Port: 22

Then enable ssh in the guest, and I'm able to connect from the host using:

ssh -p 2222 root@127.0.0.1

 

Shot