windows7安裝laravel homestead後,卡在SSH auth method: private key

WBOY
發布: 2016-08-29 08:50:51
原創
2161 人瀏覽過

系統環境

  • 全新win7 64位旗艦版

  • 管理員身分

  • virtual box5.1

  • homestead2.2.1

過程

按照laravel學院的教程安裝,當使用homestead up命令啟動虛擬機的時候,卡在ssh auth method那裡不動了:

$ homestead up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: homestead ==> 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 (guest) => 8000 (host) (adapter 1) default: 443 (guest) => 44300 (host) (adapter 1) default: 3306 (guest) => 33060 (host) (adapter 1) default: 5432 (guest) => 54320 (host) (adapter 1) default: 22 (guest) => 2222 (host) (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
登入後複製
登入後複製

然後ctrl + c 強制結束,再使用homestad halt關閉虛擬機器.出現如下提示:

$ homestead halt ==> default: Attempting graceful shutdown of VM... default: Guest communication could not be established! This is usually because default: SSH is not running, the authentication information was changed, default: or some other networking issue. Vagrant will force halt, if default: capable. ==> default: Forcing shutdown of VM... 
登入後複製
登入後複製

請問下各位大大,這個問題怎麼解決?

回覆內容:

系統環境

  • 全新win7 64位旗艦版

  • 管理員身分

  • virtual box5.1

  • homestead2.2.1

過程

按照laravel學院的教程安裝,當使用homestead up命令啟動虛擬機的時候,卡在ssh auth method那裡不動了:

$ homestead up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'laravel/homestead'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: homestead ==> 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 (guest) => 8000 (host) (adapter 1) default: 443 (guest) => 44300 (host) (adapter 1) default: 3306 (guest) => 33060 (host) (adapter 1) default: 5432 (guest) => 54320 (host) (adapter 1) default: 22 (guest) => 2222 (host) (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
登入後複製
登入後複製

然後ctrl + c 強制結束,再使用homestad halt關閉虛擬機器.出現如下提示:

$ homestead halt ==> default: Attempting graceful shutdown of VM... default: Guest communication could not be established! This is usually because default: SSH is not running, the authentication information was changed, default: or some other networking issue. Vagrant will force halt, if default: capable. ==> default: Forcing shutdown of VM... 
登入後複製
登入後複製

請問下各位大大,這個問題怎麼解決?

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!