欢迎光临
我们一直在努力

安装laravel homestead后,停留在SSH auth method: private key

安装laravel homestead时,始终卡在SSH auth method: private key

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

然后就不动了,最后通过在box虚拟机开启了网线接口就好了。

这个问题困扰我很久,刚一开始安装时就是这样,不继续了,然后我放弃安装了,今天通过这种方法完成了,看来网上教程还是有关键点没有讲到,导致新手一点点尝试。

 

赞(2)
版权归原作者所有,如有侵权请告知。达维营-前端网 » 安装laravel homestead后,停留在SSH auth method: private key

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址