Did you solve this?
Laravel Sail + SSH keys / private packages?
Hi,
I am using Sail and to install my dependencies I use command sail composer install. However in my composer.json I also have one private package and it throws permission denied error.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
I have access to that package's repository and also an SSH key in Bitbucket (it does not have the default name id_rsa but a different one, because I have multiple Bitbucket accounts and each one needs unique SSH key). In my /.ssh/config the correct SSH key is set.
We used to have our own "Sail" before Sail was created and there we had a special directory where we could put our SSH keys. But I didn't find anything about SSH keys in Sail's documentation or GitHub issues.
Please or to participate in this conversation.