vagartant up 后:Homestead-7: SSH auth method: private key 停止的问题

vagartant up 后:homestead-7: SSH auth method: private key 停止的问题#

版本:#

VirtualBox:版本 5.1.18 r114002 (Qt5.6.2)

Vagrant :1.9.2

Homestead:3.1

yaml 配置没有修改#

错误控制台日志:#

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

尝试的解决办法:#

  1. 重新生成 sshkey
  2. 进入 BOIS,将 intel virtual technology 设置为 enable
  3. 移除文件 C:\Users\seven\.vagrant.d\insecure_private_key 运行 vagrant up(vagrant 会生成一个新 insecure_private_key 文件)
  4. 修改 VirtualBox 虚拟机的网络:设置 -> 网络 -> 网卡 1-> 连接网线
  5. 复制 sshkey 私钥 到 insecure_private_key

尝试了这些方法都无法解决,请问各位谁之前遇到过类似问题,给个思路!!!!

《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 2

楼主解决了吗?我也遇到了这个问题,找了好久了,不知道该怎么办

8年前 评论

@airmy 没解决这个问题,试了好多方法也不行,都是卡在这里,我用的其他的方式,没用 homestead

8年前 评论