Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

ERROR - SSH auth method: private key #1

Open
budswarez opened this issue Jan 12, 2016 · 3 comments
Open

ERROR - SSH auth method: private key #1

budswarez opened this issue Jan 12, 2016 · 3 comments

Comments

@budswarez
Copy link

Olá ao tentar levantar a máquina o Vagrant não passa da seguinte linha
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu-server-14.04'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: ubuntu-server-php
==> 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: Forwarding ports...
default: 80 (guest) => 8080 (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


Estou a utilizar a ultima versão do Virtual Box 5.0.12 r 104815

@carlosfgti
Copy link
Owner

Confere se a virtualização da sua maquina não está desabilitada na BIOS, caso esteja habilite.

Os programas VirtualBox e Vagrant precisão estar atualizados também 👍

@ghost
Copy link

ghost commented May 6, 2017

Olá,

Tentei logar no ssh com usuario root e senha vagrant, mas não consigo, na inicialização diz que o método de autenticação é com chave, qual seria essa chave?

Grato

@carlosfgti
Copy link
Owner

Se estiver utilizando o Windows acessa a pasta do projeto com o GitBash e roda o comando: vagrant ssh
Isso já vai fazer a troca de chavez publicas e privadas entre client e server automaticamente e já vai acessar a VM do vagrant.

Este comando também funciona em sistemas Unix (Linux e Mac)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants