簡體   English   中英

Laravel Homestead SSH錯誤

[英]Laravel Homestead ssh error

當我想要設置Laravel Homestead並將流浪者添加到Homestead時

Error occurred:
Homestead/scripts/homestead.rb:118:in`read': No such file or directory @ rb_sysopen - C:/Users/Hanie/.ssh/id_rsa (Errno::ENOENT)
from C:/Windows/Homestead/scripts/homestead.rb:118:in`block (2 levels) in configure'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/plugins/kernel_v2/config/vm_provisioner.rb:72:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/plugins/kernel_v2/config/vm_provisioner.rb:72:in `add_config'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/plugins/kernel_v2/config/vm.rb:336:in `provision'
from C:/Windows/Homestead/scripts/homestead.rb:115:in `block in configure'
from C:/Windows/Homestead/scripts/homestead.rb:114:in `each'
from C:/Windows/Homestead/scripts/homestead.rb:114:in `configure'
from C:/Windows/Homestead/Vagrantfile:35:in `block in <top (required)>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/v2/loader.rb:37:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/v2/loader.rb:37:in `load'                            from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/loader.rb:113:in `block (2 levels) in load'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/loader.rb:107:in `each'                             from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/loader.rb:107:in `block in load'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/loader.rb:104:in `each'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/config/loader.rb:104:in `load'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/vagrantfile.rb:28:in `initialize'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:746:in `new'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:746:in `vagrantfile'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:492:in `host'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:214:in `block in action_runner'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:33:in `call'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/action/runner.rb:33:in `run'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:479:in `hook'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/lib/vagrant/environment.rb:728:in `unload'
 from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/bin/vagrant:130:in `ensure in <main>'
from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.9.2/bin/vagrant:130:in `<main>'

我的Homestead.yaml在這里:錯在哪里?

Homestead.yaml

1.安裝git。 2.打開您的主目錄。 鼠標的3個右鍵'Gi​​t bash here'4.ssh-keygen

來自: homestead.rb:109:在“讀”中:無此類文件或目錄@ rb_sysopen

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM