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

Alex Falconer-Athanassakos
Alex Falconer-Athanassakos
2,635 Points

Trouble setting up Homestead development environment

I just created my SSH key in the command line, so now I have an SSH key and an SSHKey.pub in my main user directory. However, when I give the "vagrant up" command in the terminal I get "/Users/alexfalconer-athanassakos/Homestead/scripts/homestead.rb:26:in `read': No such file or directory - /Users/alexfalconer-athanassakos/.ssh/id_rsa.pub (Errno::ENOENT)". The homestead.rb and the SSH key file are both there, I'm thinking I did something wrong when setting up the SSH key?

2 Answers

J.R. Champ
J.R. Champ
13,263 Points

Hi Alex,

Double check your folders setting, be sure they are pointing to the right directories

folders:

    - map: /Users/username/www/homestead

      to: /home/vagrant/www

Good luck !