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

gabrielbuzzi's avatar

Laravel Forge not Deploying

When i deploy i got this error:

Please make sure that the following SSH key is placed in both the /home/forge/.ssh/authorized_keys file and the /root/.ssh/authorized_keys file on your server.

But i've already checked and both file contains the ssh-key.

What should i do?

0 likes
4 replies
troovers's avatar

That's the general error Forge is showing users when a deployment hasn't been executed properly, because it could be the problem.

Is that the only feedback you're getting?

gabrielbuzzi's avatar

Here is the complete alert.

Something went wrong when we tried to execute an action on your server. Sometimes this means we couldn't SSH into the server, or something may have gone wrong while executing a command. If error output is available, please review it below.

Having SSH Problems?

Please make sure that the following SSH key is placed in both the /home/forge/.ssh/authorized_keys file and the /root/.ssh/authorized_keys file on your server.
gabrielbuzzi's avatar
gabrielbuzzi
OP
Best Answer
Level 8

Deleted the server and create again, solved.

ziggyspider's avatar

I have the same problem.

Something went wrong when we tried to execute an action on your server. Sometimes this means we couldn't SSH into the server, or something may have gone wrong while executing a command. If error output is available, please review it below.

I alraedy delete the server and create again, same problem again. I add the SSH keys from the site to the repo etc. help! please.

Please or to participate in this conversation.