Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

satz's avatar
Level 1

Unable to Deploy

Hello Forge Support,

I am trying a push a code from bitbucket to Laravel Forge Managed Digital Ocean Server.

Getting below error

Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Best Regards, Satz

0 likes
2 replies
sitesense's avatar

You probably need to setup your SSH Keys in Bitbucket.

First you need the SSH key provided by Forge. I think you get this when you add the repository for your site but I can't remember.

Now go to your Bitbucket "account settings" and choose "SSH Keys" from the Security section (left hand side). Once there, click the "Add key" button to paste your key details. Once saved you should be good to go.

satz's avatar
Level 1

Yea i have already did that too. Still no luck.

Please or to participate in this conversation.