문제

나는 Magento U에서 VM을 'vazerrant'하게하려고 노력했으며, 이것을 응답으로 얻는 것에 놀랐습니다 :

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

이것은 이전에 잘 작동했지만 VirtualBox 5.0과 VaGrarant 1.7.4가 갑자기 주사위가 없습니다.이 작업을 어떻게 만들 수 있습니까?

도움이 되었습니까?

해결책

나는이 문제를 해결하기 위해 톤의 일을 시도했지만 새로운 키를 만드는 방향을 끄는 것은가는 길이었습니다.

  1. GUI를 사용하여 기계를 부팅하십시오.VAGRantFile에 이것을 추가하십시오 :

    config.vm.provider : VirtualBox do | vb |

    vb.gui= true

  2. GUI에서 가상 컴퓨터에 로그인 하고이 명령을 실행하십시오.

    mkdir -p /home/vagrant/.ssh

    wget -no-check-certificate https : // raw.github.com / Mitchellh / VAGRant / VAGRant / KEYS / VAGRANT.PUB -O /home/VARRANT/.SSH/AUTHORIZED_KEYS

    chmod 0700 /home/vagrant/.ssh

    chmod 0600 /home/vagrant/.ssh/authorized_keys

    chown -r vagrant /home/vagrant/.ssheps>

  3. vergrant는 새로운 키를 생성 할 것이고, 당신은 잘 어울려야합니다.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top