vagrant up and authentication failure

来源:互联网 发布:基佬艾滋病知乎 编辑:程序博客网 时间:2024/05/20 21:46

after vagrant up. it has produce a warning message which is below.

default: Warning: Authentication failure. Retrying...

default: Warning: Authentication failure. Retrying...

default: Warning: Authentication failure. Retrying...

default: Warning: Authentication failure. Retrying...

------------------------------------------------------------------------

the mechine has started but the guest cannot connect your host.

one of solve way is :

1、edit your vagrantfile like this 

 config.vm.provider "virtualbox" do |vb|
  vb.gui = true
  end

2、vagrant reload

  using vm virtual box to enter your virtual mechine.

 the vagrant account home path like /home/vagrant which priviledge must be 700 and .ssh also is 700 and the authorize_keys is 600.only vagrant has rw to operator the file.

3、vagrant up

it work

english is not so good

1 0