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

cowdickerson's avatar

I cannot install project on the server

I'm following laravel forge tutorial and I run into this error when trying to install the project:

We were unable to install a project on your server (indigo-river).

3 solutions found.

It gives me these three alternatives:

  1. The repository may be invalid or the server owner's source control credentials may not have permission to access it. Please review the Git Remote on the Site Details section. Alternatively, try to refresh the source control token.

I clicked the link to refresh source controll. I have noe idea where the site Details section is. They don't provide me a link, but I will be glad if someone can point where that is.

  1. Forge may not be an approved integration. If the repository is within a GitHub organization and is private, please ensure that Forge is an approved integration.

I click the link approved integration but it redirects me to github with no guide to where I approve the integration.

  1. The server's public key may need to be added to the server owner's source control provider. Typically, this key will automatically be added to the owner's GitHub account. However, please ensure the server's public key available within the server's "Meta" tab exists in the source control account of the server owner.

This one I don't understand at all since it doesn't give me any link or guidance where the source controll account of the server owner is.

Error output:

github.com:22 SSH-2.0-babeld-8b756cb2

github.com:22 SSH-2.0-babeld-8b756cb2

github.com:22 SSH-2.0-babeld-8b756cb2

github.com:22 SSH-2.0-babeld-8b756cb2

github.com:22 SSH-2.0-babeld-8b756cb2

Cloning into 'default'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

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

0 likes
6 replies
vincent15000's avatar

At the end of your post, the error message clearly says that it's a problem with your public key. Have you checked if your public key is ok on github ?

cowdickerson's avatar

The ssh key? How do I verify if it is ok? On my account settings on github, I have added the ssh key.

1 like
vincent15000's avatar

Have you changed your computer or reinstalled your OS recently ?

If yes, you have to generate a new ssh key.

1 like
rossco555's avatar

Did you have any luck with this? I am having the same problem on my first foray into Forge today.

1 like
sheldonscott's avatar

I know this is an old post but I wanted to add on to @vincent15000's response for future discoverers of this post.

As they mentioned, if you made changes to your computer you may need to generate a new SSH key. (You can Google how to do that.) Copy the key and then, in Forge, add the SSH Key to your Server > SSH Keys. Make sure the key is added in GitHub as well.

1 like
chords's avatar

For what it's worth, for me this was solved by rebooting the server. SSH keys were all fine -- changed nothing else. That's unlikely to be the case if you're just getting started but I hadn't touched my project in the better part of a year. Still, hopefully this helps someone.

1 like

Please or to participate in this conversation.