Windows7 after installing Laravel Homestead, card in SSH auth method:private key

Source: Internet
Author: User

System environment

    • New Win7 64-bit flagship edition

    • Administrator status

    • Virtual box5.1

    • homestead2.2.1

Process

In accordance with the Laravel Academy's tutorial installation, when you start a virtual machine using the Homestead Up command, the card is not moved in SSH Auth method:

$ Homestead Upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:importing base box ' Laravel/homes Tead ' ...==> default:matching MAC address for NAT networking...==> default:setting the name of the vm:homestead==& Gt Default:clearing any previously set network interfaces...==> default:preparing network interfaces based on Configurat Ion ... 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) = 3306 0 (Host) (Adapter 1) default:5432 (guest) = 54320 (host) (Adapter 1) default:22 (guest) = 2222 (host) (ADA Pter 1) ==> default:running ' Pre-Boot ' VM customizations...==> default:booting vm...==> default:waiting for Mac Hine to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth MeThod:private Key 

Then CTRL + C forces the end and then uses Homestad halt to shut down the virtual machine. The following prompt appears:

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

Can you tell me how to solve this problem?

Reply content:

System environment

    • New Win7 64-bit flagship edition

    • Administrator status

    • Virtual box5.1

    • homestead2.2.1

Process

In accordance with the Laravel Academy's tutorial installation, when you start a virtual machine using the Homestead Up command, the card is not moved in SSH Auth method:

$ Homestead Upbringing Machine ' default ' up with ' VirtualBox ' provider...==> default:importing base box ' Laravel/homes Tead ' ...==> default:matching MAC address for NAT networking...==> default:setting the name of the vm:homestead==& Gt Default:clearing any previously set network interfaces...==> default:preparing network interfaces based on Configurat Ion ... 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) = 3306 0 (Host) (Adapter 1) default:5432 (guest) = 54320 (host) (Adapter 1) default:22 (guest) = 2222 (host) (ADA Pter 1) ==> default:running ' Pre-Boot ' VM customizations...==> default:booting vm...==> default:waiting for Mac Hine to boot. This could take a few minutes ... default:ssh address:127.0.0.1:2222 default:ssh username:vagrant default:ssh A Uth MeThod:private Key 

Then CTRL + C forces the end and then uses Homestad halt to shut down the virtual machine. The following prompt appears:

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

Can you tell me how to solve this problem?

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