13

私はホームステッドでウィンドウを使用しており、コマンドラインで vagrant up を入力しようとしていますが、次のエラーが発生しています:

C:/www/Homestead/scripts/homestead.rb:106: C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/config/ の configure 内のread': No such file or directory @ rb_sysopen - C:/Users/Niall/.ssh/id_rsa (Errno::ENOENT) from C:/www/Homestead/scripts/homestead.rb:106:inブロック (2 レベル) vm_provisioner.rb:72: call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/config/vm_provisioner.rb:72:inC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/kernel_v2/config/vm.rb:321 の add_config 内: provision' from C:/www/Homestead/scripts/homestead.rb:103:inC:/ の configure 内のブロックwww/Homestead/scripts/homestead.rb:102:in each' from C:/www/Homestead/scripts/homestead.rb:102:inconfigure' from C:/www/Homestead/Vagrantfile:20:in block in <top (required)>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/v2/loader.rb:37:incall' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/ lib/vagrant/config/v2/loader.rb:37: load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:113:inC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader からのロード内のブロック (2 レベル) .rb:107:でeach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:107:inC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:104:in each' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/config/loader.rb:104:inload' from C:/HashiCorp/Vagrant/embedded/gemsからのブロックの読み込み/gems/vagrant-1.8.1/lib/vagrant/vagrantfile.rb:28:C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rbinitialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:740:inからの新規作成: 740: vagrantfile' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:486:inC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb からの「ホスト内」:208: block in action_runner' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:33:inC:/HashiCorp/Vagrant/embedded/gems/ からの「呼び出し」 gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:33:in run' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:473:inhook' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb :722: unload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:177:inC:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant から ' を確認します。177:「」で

私はオンラインで検索しましたが、同じ質問をしている他の誰かが答えを見つけられませんでした. このエラーはどういう意味ですか? 特にフォルダーに移動しましたが、実際にはid_rsaというファイルはありません。これを修正する方法について誰かが光を当てることができますか?

4

1 に答える 1

24

SSH キーを生成する必要があるようですね。Git Bashを使用している場合は、コマンドを入力することでssh-keygen -t rsa -C "your_email@example.com"(明らかに自分の電子メールで)それを行うことができます。

キーを保存する場所を尋ねられたら、Enter キーを押します。パスフレーズもオプションです。パスフレーズを空白にするには、Enter キーを 2 回押します。

于 2016-02-18T17:17:38.000 に答える