On Mac (Host) VBoxManage modifyvm <VM-Name> --natpf1 "ssh,tcp,,3022,,22" On Ubuntu (Guest) sudo apt-get install openssh-server Finally SSH to the VM ssh -p 3022 <username>@127.0.0.1