Sounds like you need to add you server's public key to Github. See this post: https://laracasts.com/discuss/channels/forge/forge-not-working-with-bit-bucket
Jun 22, 2017
6
Level 11
Help with Deployment error
FIXED
Hi
I'm struggling to find the answer to why my deployment is failing. I have a digital ocean droplet and the connection test works. The code is in a public github repository. Deploy used to work fine but am returning to a project having not touched it for over a year. When I try to deploy I get the following:
"Fri Jun 23 08:09:46 BST 2017 Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists."
Any help gratefully received!
Please or to participate in this conversation.