Level 2
Update: it turns out my VPS provider disables port 22 outgoing connections by default.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I used Forge to provision a server, and I've added a site to the server. When I attempt to install my repository via Forge, I see this error:
Cloning into 'mysquash.pro'...
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
When I go to Github, I can see the Forge generated SSH shown in my account. I am the owner of this repository.
If I manually SSH into my server, and attempt git clone with SSH the request times out. If I use the HTTPS git clone method I'm prompted for my credentials. Do I need to configure Git on the server to use the SSH key that Forge generated?
Update: it turns out my VPS provider disables port 22 outgoing connections by default.
Please or to participate in this conversation.