Search code examples
laravelhomestead

Homestead installation


I could not figure out where I made a mistake here. My command vagrant up replies with the following lines

$ vagrant up
Check your Homestead.yaml file, the path to your private key does not exist.
Check your Homestead.yaml file, the path to your private key does not exist.

enter image description here


Solution

  • You want to follow these steps from terminal

    Generate a ssh key ssh-keygen -t rsa -b 4096 -C "your_email@example.com"

    Start ssh agent eval "$(ssh-agent -s)"

    Add your SSH private key to the ssh-agent ssh-add -k ~/.ssh/id_rsa

    Then run vagrant up