Vagrantの最新バージョンが1.8.6になりました。
この中で重要なのは、1.8.5で大きな問題となった 「vagrant up/sshのときにAuthentication failure. Retrying...メッセージが止まらない」バグが解消された ことです。
GitHub Issueでの議論とパッチ報告: Authentication failure after inserting new key with Vagrant 1.8.5. [PATCH] · Issue #7610 · mitchellh/vagrant
具体例
Vagrant vagrant upしたときに"Authentication failure. Retrying..."警告がでてvagrant sshできない状態からの脱出 - Qiitaより引用。
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
1.8.6における修正
vagrant/CHANGELOG.md at v1.8.6 · mitchellh/vagrant
guests/linux: Fix SSH key permissions [GH-7610, GH-7611]
対処
迷わず、Vagrantの最新版(1.8.6)にアップグレードしましょう!
バイナリを直接インストールする場合
下記からダウンロードすれば、最新版が入ります。
Download - Vagrant by HashiCorp
Mac: Homebrew Caskを使う場合
brew cask install vagrant --force
Windows: Chocolateyを使う場合
choco upgrade vagrant -y
注意
ただ、これでも問題が発生する・新たに問題が出現する場合には、バージョン1.8.4にダウングレードすることも検討しましょう。