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.
尝试的解决办法:#
- 重新生成 sshkey
- 进入 BOIS,将 intel virtual technology 设置为 enable
- 移除文件
C:\Users\seven\.vagrant.d\insecure_private_key
运行 vagrant up(vagrant 会生成一个新 insecure_private_key 文件) - 修改 VirtualBox 虚拟机的网络:设置 -> 网络 -> 网卡 1-> 连接网线
- 复制 sshkey 私钥 到 insecure_private_key
尝试了这些方法都无法解决,请问各位谁之前遇到过类似问题,给个思路!!!!
推荐文章: