Heim > Artikel > Backend-Entwicklung > Nach der Installation von Laravel Homestead unter Windows 7 blieb ich bei der SSH-Authentifizierungsmethode hängen: privater Schlüssel
Neue Win7 64-Bit Ultimate-Version
Administratorstatus
virtuelle Box5.1
homestead2.2.1
Folgen Sie der Anleitung der Laravel Academy, um es zu installieren. Wenn Sie den Befehl „homestead up“ verwenden, um die virtuelle Maschine zu starten, bleibt sie bei der SSH-Authentifizierungsmethode hängen:
<code class="bash">$ 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</code>
Dann Strg C drücken, um das Ende zu erzwingen, und dann Homestad Halt verwenden, um die virtuelle Maschine herunterzufahren. Die folgende Eingabeaufforderung wird angezeigt:
<code class="bash">$ 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... </code>
Entschuldigung, alle zusammen, wie kann ich dieses Problem lösen?
Neue Win7 64-Bit Ultimate-Version
Administratorstatus
virtuelle Box5.1
homestead2.2.1
Folgen Sie der Anleitung der Laravel Academy, um es zu installieren. Wenn Sie den Befehl „homestead up“ verwenden, um die virtuelle Maschine zu starten, bleibt sie bei der SSH-Authentifizierungsmethode hängen:
<code class="bash">$ 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</code>
Dann Strg C drücken, um das Ende zu erzwingen, und dann Homestad Halt verwenden, um die virtuelle Maschine herunterzufahren. Die folgende Eingabeaufforderung wird angezeigt:
<code class="bash">$ 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... </code>
Entschuldigung, alle zusammen, wie kann ich dieses Problem lösen?