Macchina virtuale Magento U - Avvertenza: errore di autenticazione.Riproduzione

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

  •  13-12-2019
  •  | 
  •  

Domanda

Ho appena cercato di "vagare" la VM da Magento U, ed è stato sorpreso di ottenere questo come risposta:

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

Questo ha funzionato bene prima, ma con VirtualBox 5.0 e Vagrant 1.7.4, improvvisamente senza dadi.Come posso fare questo lavoro?

È stato utile?

Soluzione

Ho provato un sacco di cose per risolvere questo, ma ottenere vagare per creare una nuova chiave è stato il modo di andare.

    .
  1. Avvia la macchina con la GUI abilitata.Aggiungi questo al tuo VagrantFile:

    config.vm.provider: VirtualBox Do | VB |

    vb.gui= true

  2. Accedi alla macchina virtuale dalla GUI e esegui questi comandi:

    mkdir -p /home/vagrant/.ssh

    wetget --no-check--certificato https:// crudo.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/.ssheleshortion/p>

  3. vagabrante genererà una nuova chiave, e dovresti essere buono per andare.

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top