SSH to Virtualbox VM from Host PC

Oct 26, 2016

Sometimes it’s really helpful if you can ssh to your local VM from the host OS. Most of online tutorials suggests to use port forwarding, but NAT networking does not work for me even though I don’t know exactly why. So I switched to bridge netowrking and finally it worked, here are the steps.