laravel - "vagrant up"它停止在 SSH 身份验证方法 : private key

标签 laravel ssh vagrant virtualbox homestead

我正在尝试在我的具有 homestead 环境的计算机上安装 laravel。我按照 official documentation 上的所有步骤进行操作。当我执行“vagrant up”时,我的控制台显示以下错误。

vagrant up error

在 SSH 身份验证方法处停止。之前我用“ssh-keygen -t rsa -b 4096 -C “me@email.com”配置了 ssh-keygen

我在 .rb 文件中添加了主机部分: Hosts

甚至 .yaml 文件。我认为我编辑正确 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-识别实用程序 Windows 版本 .html "

我向您展示了初始状态的捕获: enter image description here

通过禁用以下 Windows 功能来修复此问题: enter image description here

一旦上述功能被停用并重新启动计算机,我就会分享处理器的新状态,很明显虚拟化已经在工作: enter image description here

PS:关于您已经在主板(BIOS)上激活虚拟化

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

关于laravel - "vagrant up"它停止在 SSH 身份验证方法 : private key,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43379459/

相关文章:

php - Laravel 5.6 无法访问某些 .env 变量

php - Laravel 5 - 从他的所有设备上注销用户

svn - 在工作副本中动态更改 SVN+SSH URI 中的用户名

linux - SSH 设置非默认端口

node.js - npm 安装时出现 EEXIST 错误

vagrant - 跨 vagrantfiles 共享配置

laravel - 如何使用 Eloquent ORM 将一张表与其他表关联起来

php - 在@if 指令中生成随机数

ssh - Windows 终端主题颜色 SSH

vagrant - 从命令行指定 headless 或 GUI