Open PierreR opened 2 years ago
I wonder if this is not related to the update to openssh 8.8:
https://www.openssh.com/releasenotes.html https://github.com/hashicorp/packer/issues/10074
@zimbatm is it possible to change the rsa vagrant public key ?
Can you try setting services.openssh.extraConfig
to
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
and see if it fixes it?
I'm not really using nixbox and would be willing to pass on maintainership.
It doesn't work probably because the ssh connection needs to be set up before configuration.nix is used
I'm not using nixbox, but am using Packer with EC2, and just PubkeyAcceptedAlgorithms
is sufficient. I was able to solve it on EC2 with user_data
, but not sure a similar mechanism exists for VirtualBox.
Maybe adding "temporary_key_pair_type": "ed25519"
to the Packer builder config works? There's an open issue for the EC2 builder that this option is broken there, but maybe it doesn't affect VirtualBox or other builders. (https://github.com/hashicorp/packer-plugin-amazon/issues/144)
If I use
The build is failing with
If I revert back to
21.05
it works again.Any idea about what would cause this failure ?
Thanks