Magento u machine virtuelle - Avertissement: échec de l'authentification.Réessayant

magento.stackexchange https://magento.stackexchange.com//questions/76500

  •  13-12-2019
  •  | 
  •  

Question

J'ai juste essayé de "promanter" la machine virtuelle de Magento U, et j'ai été surpris de l'obtenir comme une réponse:

  Bringing machine 'default' up with 'virtualbox' provider...
    ==> default: Clearing any previously set forwarded ports...
    ==> 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: 22 => 2222 (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
        default: Warning: Connection timeout. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...
        default: Warning: Authentication failure. Retrying...

Cela a fonctionné bien avant, mais avec VirtualBox 5.0 et Vagrant 1.7.4, tout à coup, pas de dés.Comment puis-je faire ce travail?

Était-ce utile?

La solution

J'ai essayé une tonne de choses pour résoudre ce problème, mais faire un vagabond pour créer une nouvelle clé était la voie à suivre.

  1. démarrer la machine avec l'interface graphique activée.Ajoutez ceci à votre VagrantFile:

    config.vm.provider: Virtualbox DO | VB |

    vb.gui= true

  2. connectez-vous à votre machine virtuelle de l'interface graphique et exécutez ces commandes:

    mkdir -p /home/vagrant/.ssh

    wget --no-check-certificat HTTPS: // cru.github.com / Mitchellh / Vagrant / Master / Keys / Vagrant.Pub -o /Home/vagrant/.ssh/authorized_keys

    chmod 0700 /home/vagrant/.ssh

    chmod 0600 /home/vagrant/.ssh/authorized_keys

    CHOWN -R Vagrant /Home/vagrant/.sSh

  3. Vagrant générera une nouvelle clé et vous devriez être prêt à partir.

    https://superuser.com/a/745998/421272

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top