Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant SSH default key passphrase?

I think I messed up something simple, normally you should be able to instantly connect to your Vagrant VM using vagrant ssh. However, it's currently different for me.

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

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

OS: Windows 8.1 Pro

Vagrant version: 1.7.2

Vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
    config.vm.box = "ubuntu/trusty64"
end

I did try multiple settings before, but if I use this Vagrantfile with vagrant destroy and vagrant up the problem remains.

If there is any information missing, please tell me.

like image 629
Sem Avatar asked Apr 04 '15 23:04

Sem


1 Answers

Very new to vagrant and linux in general so this is for those who are like me. By default there is no passphrase so simply hitting enter will work. It will then ask you for the password which by default is 'vagrant'.

like image 89
Ahmed-Anas Avatar answered Oct 19 '22 11:10

Ahmed-Anas