After laravelhomestead is installed in Windows 7, it is stuck in SSHauthmethod: privatekey

Source: Internet
Author: User
Tags laravel tutorial
The system environment is brand new win764 flagship edition administrator identity virtualbox5.1homestead2.2.1 process according to the laravel tutorial installation, when using the homesteadup command to start the virtual machine, stuck in sshauthmethod does not move: {code ...} then ctrl + c strong... system environment
  • Brand new win7 64-bit flagship edition

  • Administrator identity

  • Virtual box5.1

  • Homestead2.2.1

Process

According to the tutorial of laravel Institute, when you use the homestead up command to start a virtual machine, it is stuck in the ssh auth method:

$ homestead upBringing 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

Press ctrl + c to force the VM to end, and then use homestad halt to disable the VM. the following prompt is displayed:

$ 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...

How can this problem be solved?

Reply content: System environment
  • Brand new win7 64-bit flagship edition

  • Administrator identity

  • Virtual box5.1

  • Homestead2.2.1

Process

According to the tutorial of laravel Institute, when you use the homestead up command to start a virtual machine, it is stuck in the ssh auth method:

$ homestead upBringing 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

Press ctrl + c to force the VM to end, and then use homestad halt to disable the VM. the following prompt is displayed:

$ 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...

How can this problem be solved?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.