Code: Select all
vboxmanage modifyvm $VM_NAME --natpf1 "guestssh,tcp,,2222,,22"UPDATE: When I set the Network Adapter to Bridged, I can successfully ssh into the VM. Seems like it has something to do with the NAT and port forward. Ideally, I'd like to be able to connect to the VM(s) by hostname of the VM from a terminal session on my OS X environment. I did use this command to enable that without success.
Code: Select all
vboxmanage modifyvm $VM_NAME --natdnshostresolver1 on