bash-3.2# vagrant ssh
vag...@127.0.0.1's password:
Last login: Fri Mar 7 16:57:20 2014 from 10.0.2.2
-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
[vagrant@localhost ~]$ wget https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O ~/.ssh/authorized_keys
--2016-08-24 18:45:26-- https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub
Resolving raw.githubusercontent.com... 151.101.100.133
Connecting to raw.githubusercontent.com|151.101.100.133|:443... connected.
ERROR: certificate common name `www.github.com' doesn't match requested host name `raw.githubusercontent.com'.
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.
[vagrant@localhost ~]$ chmod 700 ~/.ssh
[vagrant@localhost ~]$ chmod 600 ~/.ssh/authorized_keys
[vagrant@localhost ~]$ chown -R vagrant:vagrant ~/.ssh
MY ISSUE...
bash-3.2# vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: juno_default_1472064511541_56111
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (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:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
default: Warning: Authentication failure. Retrying...
default: Warning: Authentication failure. Retrying...
^C==> default: Waiting for cleanup before exiting...
Vagrant exited after cleanup due to external interrupt.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/3475e88a-6b24-4bf7-9435-f9c7259991fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1c470b2e-dd9c-4e52-b49c-472888f131a3%40googlegroups.com.
Hello,This workaround is needed due a bug in Vagrant 1.8.5, the permanent fix should be included in Vagrant 1.8.6
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/d9fbe54f-3b32-4ffa-bc07-e573c4554184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
ssh-keygen -y -f $(
vagrant ssh-config |
perl -ne '
print if s/^\s*IdentityFile\s+//
'
) |
ssh vagrant@localhost -p 2222 'cat >> .ssh/authorized_keys'
Can you try with this box?mkdir precise64cd precise64vagrant init -m hashicorp/precise64vagrant upin case of error run this:vagrant destroyVAGRANT_LOG=DEBUG vagrant up 2>&1 | tee vagrant_up.logand share a gist (gist.github.com) of the generated log file vagrant_up.log
On Mon, Oct 24, 2016 at 9:48 AM, Stephan Hradek <stephan...@gmail.com> wrote:
Am Freitag, 26. August 2016 09:14:03 UTC+2 schrieb Alvaro Miranda Aguilera:Hello,This workaround is needed due a bug in Vagrant 1.8.5, the permanent fix should be included in Vagrant 1.8.6
I have the authentication problem with vagrant 1.7.4 (I can't use a newer one on my old OS X 10.6.8).
Changing the Vagrantfile as you described, didn't help.
Do you have any advice for me?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/d9fbe54f-3b32-4ffa-bc07-e573c4554184%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro