Vagrant up Windows 下启动报错
C:\Homestead>vagrant up
C:/Homestead/scripts/homestead.rb:106:in read': No such file or directory @ rb_ sysopen - C:/Users/Administrator/.ssh/id_rsa (Errno::ENOENT) from C:/Homestead/scripts/homestead.rb:106:in
block (2 levels) in confi
gure'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kerne
l_v2/config/vm_provisioner.rb:72:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kerne l_v2/config/vm_provisioner.rb:72:in
add_config'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kerne
l_v2/config/vm.rb:321:in provision' from C:/Homestead/scripts/homestead.rb:103:in
block in configure'
from C:/Homestead/scripts/homestead.rb:102:in each' from C:/Homestead/scripts/homestead.rb:102:in
configure'
from C:/Homestead/Vagrantfile:25:in block in <top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/v2/loader.rb:37:in
call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c
onfig/v2/loader.rb:37:in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:113:in
block (2 levels) in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c
onfig/loader.rb:107:in each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:107:in
block in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c
onfig/loader.rb:104:in each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/c onfig/loader.rb:104:in
load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/v
agrantfile.rb:28:in initialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:740:in
new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e
nvironment.rb:740:in vagrantfile' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e nvironment.rb:486:in
host'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/e
nvironment.rb:208:in `block in action_runner'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/a
请问一下,是不是要手动生成一下 ssh key ,win下比较麻烦,不知道如何用什么 生成 ssh key
推荐文章: