vagrant-digitalocean
vagrant-digitalocean copied to clipboard
Vagrant SSH not working with all the latests tools
brew cask install vagrant --force brew cask install virtualbox --force vagrant box --insecure --box centos/7 vagrant init centos/7 vagrant up
you get
`E, [2016-08-26T17:13:53.138230 #17073] ERROR -- net.ssh.authentication.session[814f4e40]: all authorization methods failed (tried none, publickey)
DEBUG ssh: == Net-SSH connection debug-level log END == INFO ssh: SSH not ready: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private keypair for the SSH user not being properly set on the guest VM. Please verify that the guest VM is setup with the proper public key, and that the private key path for Vagrant is setup properly as well.> INFO subprocess: Starting process: ["/usr/local/bin/VBoxManage", "showvminfo", "b3af67de-1ff8-41ea-9251-e3c28a3be008", "--machinereadable"]`
you also can not ssh -i .... into the box
but if you add
config.ssh.insert_key = false
it all works.
Can you please describe how this relates to vagrant-digitalocean?
I could be wrong but I believe this is the same issue as #244 seeing as how it was almost the exact same output I was receiving. I'm waiting for a response from the other commenters, but I believe I posted a solution. It has to do with DO's default accepted sshkeys.
You can view my comment/solution here.