I am experimenting a bit with Laravel Forge and Homestead. I have been working with Sync Script under a Trellis environment and it worked perfectly. So now I am trying to do the same with an Homestead/Forge system and I can’t seem to establish a connection with the production server under Forge.
Does anyone knows the correct production path for an Homestead/Forge production server? Is it different from Trellis? Or am I doing something obviously wrong?
Thanks a lot!
I figured out the path for a Forge / Bedrock / Homestead install. I needed to specify the home/forge directories and use the “forge” user automatically generated by Forge that was also being assigned a SSH key in my dashboard options.
wp @development and
wp @staging are succesful in these conditions.
BUT when I try to use the script itself, let’s say
./sync.sh staging development, I get:
Able to connect to staging
Unable to connect to development
Vagrant ssh works, wp @development is still good. I did reprovision my VM and I also tried to reset my known hosts file.
I’m out of ideas, so if anyone can suggest me something it would be gladly appreciated. Once again, pardon my ignorance and thanks a lot.
I got it (thanks to Patrick)
This topic was automatically closed after 42 days. New replies are no longer allowed.