Support the ongoing development of Laravel.io →
Installation

I tried so many ways to install Homestead 2.0 in my windows machine. The Latest error from the git bash says

E:/projects/Homestead/scripts/homestead.rb:29:in `read': Invalid argument - C:/Users/Fahim Shahriyer/C:/Users/Fahim Shah
riyer/.ssh/id_rsa.pub (Errno::EINVAL)
        from E:/projects/Homestead/scripts/homestead.rb:29:in `block in configure'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/plugins/kernel_v2/config/vm_provisioner.rb:72:in `cal
l'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/plugins/kernel_v2/config/vm_provisioner.rb:72:in `add
_config'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/plugins/kernel_v2/config/vm.rb:311:in `provision'
        from E:/projects/Homestead/scripts/homestead.rb:27:in `configure'
        from E:/projects/Homestead/Vagrantfile:17:in `block in <top (required)>'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/v2/loader.rb:37:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/v2/loader.rb:37:in `load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/loader.rb:103:in `block (2 levels)
 in load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/loader.rb:97:in `each'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/loader.rb:97:in `block in load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/loader.rb:94:in `each'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/config/loader.rb:94:in `load'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/vagrantfile.rb:28:in `initialize'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:691:in `new'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:691:in `vagrantfile'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:441:in `host'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:207:in `block in action_ru
nner'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/action/runner.rb:33:in `call'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/action/runner.rb:33:in `run'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:428:in `hook'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/environment.rb:673:in `unload'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/bin/vagrant:177:in `ensure in <main>'
        from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.1/bin/vagrant:177:in `<main>'

Anyone have any idea what this might be?

Last updated 3 years ago.
0

I've only seen this once and I had to recreate the id_rsa.pub. You might also want to make sure your homestead is uptodate.

Invalid argument - C:/Users/Fahim Shahriyer/C:/Users/Fahim Shahriyer/.ssh/id_rsa.pub (Errno::EINVAL)

I'm not sure if the forum software made the file path odd or not, but you might check that also.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.