SSH authentication issue SOLVED for my Ubuntu 20.04 host! default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Authentication failure. Retrying... I have updated the Ubuntu-packaged vagrant version (2.2.6) via download from https://www.vagrantup.com/downloads to 2.3.0 and re-installed the vbguest plugin via vagrant plugin install vagrant-vbguest and the installation went straight through. Just configured RAM and 128 MB video memory (for higher resolutions)... On Mon, 2022-09-12 at 23:25 +0200, J. A. wrote:
Hmm, strange. I never experienced this. Let me research the issue and come back to you. This is completely unexpected
To narrow down the problem I have created a new simple box with "vagrant init" + only config.vm.box = "generic/ubuntu2204" And had exactly the same problems (with and without the *guest* plugin).
So the problem must be with Ubuntu 20.04 (or Debian upstream) or the packaged vagrant version.
I logged in as root and checked if the public ssh key was installed in ~/.ssh/ and it was. I also checked if the PPKs match (host == VM):
cat .ssh/authorized_keys ssh-keygen -y -f ~/.vagrant.d/insecure_private_key
Manually logging in via private key (without a password)
ssh -i ~/.vagrant.d/insecure_private_key ssh://vagrant@127.0.0.1:2222
does work if I delete and re-accept the fingerprint of the "unknown" server...
Good thing is: - I have learned the very basics of vagrant (thanks for your initiative!) - I have now two more different VMs that I can start at least manually without vagrant - I know now to to setup a new VM quickly by copying and modifying a Vagrantfile
For the next VM I will download and install the latest vagrant version manually, so don't spend too much time to investigate this...
BTW: I think the Vagrantfile for Debian 11 is not up-to-date (creation of the bit user is missing eg.) - forgot to commit/push? but copying the script from Debian 12 is straight-forward
_______________________________________________ Bit-dev mailing list -- bit-dev@python.org To unsubscribe send an email to bit-dev-leave@python.org https://mail.python.org/mailman3/lists/bit-dev.python.org/ Member address: python@altfeld-im.de