“vagrant up”它停止在 SSH auth method: private key

2024-01-02

我正在尝试在具有 homestead 环境的计算机上安装 laravel。我按照上面的所有步骤操作官方文档 https://laravel.com/docs/5.4/homestead。当我执行“vagrant up”时,我的控制台显示以下错误。

vagrant up error.

在 SSH 身份验证方法处停止。之前我用“配置 ssh-keygen”ssh-keygen -t rsa -b 4096 -C “[电子邮件受保护] /cdn-cgi/l/email-protection"

I added the host piece at .rb file: Hosts

Even .yaml file. I think I edited properly yaml file

在主机文件中,我在文件底部添加了:“192.168.10.10 administracio.dev”。

然后当我让这个错误崩溃时,它显示以下错误:

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.

有什么建议么?


经过几天尝试用“SSH身份验证方法:私钥”解决问题,发现windows 10与vagrant有冲突。

作为验证虚拟化状态的工具,该程序被使用:“https://www.intel.com/content/www/us/en/download/12136/28539/intel-processor-identification-utility-windows-version .html "

I show you the capture of the initial state: enter image description here

Fix it by disabling the following windows features: enter image description here

Once the aforementioned features were deactivated and the computer was restarted, I share the new state of the processor where it is evident that virtualization is already working: enter image description here

PS:说你已经在主板上激活了虚拟化(BIOS)

有了这个解决方案,流浪汉已经非常适合我了。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

“vagrant up”它停止在 SSH auth method: private key 的相关文章

随机推荐