Zauberfisch/vagrant-boxes

"Warning: Authentication failure. Retrying..." after updating / wrong ssh key used

Closed this issue · 0 comments

After upgrading the box to v0.0.3, previous instances (v0.0.2) can not be accessed by vagrant anymore.

The problem seems that vagrant is using the wrong ssh key (using 0.0.3 key for 0.0.2 vm).
We should investigate if this is a vagrant bug or a miss-configuration in the box.

As a work around meanwhile, one can specify which ssh key to use per instance. In the Vagrantfile add config.ssh.private_key_path = in the config section:

Vagrant.configure("2") do |config|
  config.vm.box = "zauberfisch/silverstripe-jessie64"
  config.ssh.private_key_path = "~/.vagrant.d/boxes/zauberfisch-VAGRANTSLASH-silverstripe-jessie64/0.0.2/virtualbox/vagrant_private_key"
end