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

superfive33's avatar

Cannot SSH to my server, after deleting the SSH firewall rule...

Hi,

I'm so stupid. I have deleted the SSH firewall rule in the Network dashboard on Forge. Now I cannot recreate it because Forge needs to have ssh access to the server to recreate it, I guess...

How can I fix this ?

thank you

0 likes
4 replies
Sinnbeck's avatar

Did you contact support? I am sure they can connect to the server directly

superfive33's avatar

I found an emergency console at my host provider. I was able to login and recreate the UFW rule for SSH.

phew!

Sinnbeck's avatar

If you feel like it spend 5 minutes writing how you fixed it and mark it as best answer. Others might end up with the same issue and come here looking for a solution

2 likes
superfive33's avatar
superfive33
OP
Best Answer
Level 1

Being able to login via the emergency console provided by my host provider, I ran the command ufw allow 22 to enable SSH access.

1 like

Please or to participate in this conversation.