Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrant SSH not working with all the latests tools #250

Open
athingisathing opened this issue Aug 27, 2016 · 2 comments
Open

Vagrant SSH not working with all the latests tools #250

athingisathing opened this issue Aug 27, 2016 · 2 comments

Comments

@athingisathing
Copy link

athingisathing commented Aug 27, 2016

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.

@seth-reeser
Copy link
Member

Can you please describe how this relates to vagrant-digitalocean?

@tarellel
Copy link

tarellel commented Oct 2, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants