Public bug reported:

On Focal, Vagrant cannot connect to a new VM I tried to create (using
debian/bookworm64).

`vagrant up my-bookworm-vm` keeps repeating:

"Warning: Authentication failure. Retrying..."

`vagrant ssh my-bookworm-vm` however works!

The reason is that public-key authentication fails when Vagrant uses
ruby-net-ssh internally (it works with /usr/bin/ssh, which `vagrant ssh`
is just a wrapper for).

The affected versions are:

vagrant: 2.2.6+dfsg-2ubuntu3
ruby-net-ssh: 1:5.2.0-1

I installed ruby-net-ssh version 1:7.2.0-1 from Mantic, which fixed the
issue.

** Affects: vagrant (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063339

Title:
  `vagrant up` fails to connect to VM via SSH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/2063339/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to