How I fixed ‘Warning: Authentication failure. Retrying’ with Vagrant
Lately, I went into an upgrade cycle : Ubuntu, which forced me to upgrade Docker, and then Vagrant … you know the story. Unfortunately, my vagrant config did not want to start anymore with the following error :
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
Warning: Authentication failure. Retrying
...
I tried to destroy and re-create my box with the same result : it eventually timedout, but the provisions were not executed.
After searching the internet and a lot of experimentation, I managed to make it work by commenting out the following line in my Vagrantfile
# config.ssh.private_key_path = "~/.ssh/id_rsa"
I think I added this a long time ago to be able to push to github from my Vagrantbox, but after trying it, it work with the difference of my having to validate the remote ssh key, that’s not of a big deal.
Leave a comment