连接家园拒绝

时间:2015-09-12 17:32:04

标签: laravel ssh vagrant homestead vbox

嘿,我一直试图让我的家园运转,但我不断遇到错误:

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'laravel/homestead' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 => 8000 (adapter 1)
    default: 443 => 44300 (adapter 1)
    default: 3306 => 33060 (adapter 1)
    default: 5432 => 54320 (adapter 1)
    default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection refused. Retrying...
    default: Warning: Connection refused. Retrying...
    default: Warning: Connection refused. Retrying...

我正在运行Windows 10和虚拟框5.0.4

1 个答案:

答案 0 :(得分:0)

错误发生在行'默认:SSH身份验证方法:私钥'并提出连接拒绝错误,所以我认为它可能与您的ssh密钥有关。你有没有检查你的ssh键是否设置正确?

existingproject/WebContent

尝试再次运行此命令并在homestead.yaml文件中设置公钥和私钥路径(确保它正确指向该文件),然后重试。

如果问题仍然存在,请告诉我们您的homestead.yaml文件,以便我们可以尝试更好地帮助:)我希望我可以提供帮助