Vagrant fails to SSH into VirtualBox VM

I’m attempting to follow a guide posted here: https://open.mesosphere.com/advanced-course/installing-software/

I have the latest version of Vagrant (2.2.9) and Virtualbox ( 6.1.12 r139181 (Qt5.12.8)) installed.

After running these commands on a pop_os (Ubuntu 20.04) box:

$ mkdir vm-install
$ cd vm-install
$ vagrant init bento/centos-7.1

and modifying the contents of the Vagrant file to this:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
  config.vm.box = "bento/centos-7.1"

  config.vm.network "private_network", ip: "192.168.33.10"
  config.vm.hostname = "node1"
end

I ran the command: Vagrant up and see the following:

vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Importing base box ‘bento/centos-7.1’…
==> default: Matching MAC address for NAT networking…
==> default: Checking if box ‘bento/centos-7.1’ version ‘2.2.2’ is up to date…
==> default: Setting the name of the VM: vm-install_default_1596033449552_58249
==> default: Clearing any previously set network interfaces…
==> default: Preparing network interfaces based on configuration…
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports…
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM…
==> default: Waiting for machine to boot. This may take a few minutes…
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying…
default: Warning: Remote connection disconnect. Retrying…
default: Warning: Remote connection disconnect. Retrying…
default: Warning: Remote connection disconnect. Retrying…
default: Warning: Remote connection disconnect. Retrying…

I’ve checked the GUI on the VM and see that the there is a loopback, nat’d (10.0.2.15/24) and a last network interface that has a lease of 192.168.33.4/24.

My host machine has 3 network interfaces: the loopback, local connection to my network and a “vboxnet0:” interface with a 192.168.33.1 address.

I understand that the host is trying to SSH to the VM through the localhost interface on port 2222 to 22 but I’m not sure where it’s getting hung up.

While watching the > default: Warning: Remote connection disconnect. Retrying… repeat, I logged into the vagrant box and ran "journalctl -f". It seems as though vagrant is failing to authenticate with the centos-7.1 bento box. I created a new centos-7.6 bento box and was able to immediately authenticate into it with the vagrant ssh command

It’s important to note that the tutorial I was following is dated back from 2015 and was written/being hosted by mesosphere