Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Laravel 4 Basics Getting Started with Laravel Installing Laravel Homestead

Anton Iancu
Anton Iancu
5,633 Points

Im stuck at vagrant up - i get this:

/Users/anton/Homestead/scripts/homestead.rb:34:in read': No such file or directory - /Users/anton/Homestead/Users/anton/.ssh/id_rsa (Errno::ENOENT) from /Users/anton/Homestead/scripts/homestead.rb:34:inblock (2 levels) in configure' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm_provisioner.rb:72:in call' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm_provisioner.rb:72:inadd_config' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/plugins/kernel_v2/config/vm.rb:285:in provision' from /Users/anton/Homestead/scripts/homestead.rb:31:inblock in configure' from /Users/anton/Homestead/scripts/homestead.rb:30:in each' from /Users/anton/Homestead/scripts/homestead.rb:30:inconfigure' from /Users/anton/Homestead/Vagrantfile:9:in block in <top (required)>' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/v2/loader.rb:37:incall' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/v2/loader.rb:37:in load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:103:inblock (2 levels) in load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:97:in each' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:97:inblock in load' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:94:in each' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/config/loader.rb:94:inload' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/vagrantfile.rb:28:in initialize' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:614:innew' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:614:in vagrantfile' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:399:inhost' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:198:in block in action_runner' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:33:incall' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/action/runner.rb:33:in run' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:386:inhook' from /Applications/Vagrant/embedded/gems/gems/vagrant-1.6.5/lib/vagrant/environment.rb:596:in unload' from /Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant:177:inensure in <main>' from /Applications/Vagrant/bin/../embedded/gems/gems/vagrant-1.6.5/bin/vagrant:177:in `<main>'

Any clues as to how to fix this?

3 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Anton,

Your SSH key path is incorrect, it should be the following given you do indeed have a key setup already.

~/.ssh/id_rsa

NOTE: On unix systems the tilda ~ refers to your home directory so you don't need the full path.

Anton Iancu
Anton Iancu
5,633 Points

That was indeed the problem! Thank you

Matt Borgman
Matt Borgman
18,313 Points

what about for windows users having same issue? tried using full path, also tried shortening the path. have not come across anything to make me feel like im doing anything other than this wrong but still get same output as up above.

Hi Matt.

Did you come up with a solution for this yet? I've been having the same problem for the past day and despite trying the path in many different ways I still do not come up with a solution unfortunately.

I'll update if in the meantime I get somewhere :)

FIXED

Had a simple typo ssh != shh :)

Can confirm ~/.ssh/id-rsa works on Windows.

Filipe