Important SSH default government passphrase?

I think I messed up something simple, usually you should instantly connect to your Vagrant VM using vagrant ssh . However, he is currently different from me.

 C:\Users\Sem\Documents\timeline>vagrant ssh Enter passphrase for key 'C:/Users/Sem/Documents/timeline/.vagrant/machines/default/virtualbox/private_key': vagrant@127.0.0.1 password: vagrant@127.0.0.1 password: vagrant@127.0.0.1 password: Permission denied (publickey,password). 

I found another person having the same problem: https://github.com/coreos/docs/issues/10#issuecomment-48903893

OS: Windows 8.1 Pro

Wandering version: 1.7.2

Vagrantfile:

 # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "ubuntu/trusty64" end 

I tried several settings before, but if I use this Vagrantfile with vagrant destroy and vagrant up , the problem remains.

If any information is missing, let me know.

+7
vagrant ssh ubuntu private-key
source share
3 answers

Despite the fact that I was looking for something else, I found a solution to this problem.

I added this to my Vagrantfile:

 config.vm.provider "virtualbox" do |v| v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] v.customize ["modifyvm", :id, "--natdnsproxy1", "on"] end 

It also quickly connected to the Internet in my roaming VM! :)

+2
source share

Very new to strollers and linux in general, so this is for anyone who looks like me. There is no passphrase by default, so just clicking a button will work. Then he will ask you to enter the password, which by default is "roaming".

+7
source share

Check the permissions of the key file. I had the same problem and it was caused by OpenSSH rejecting my key file due to too open permissions. You can also eliminate any Vagrant command using the --debug key.

+2
source share

All Articles