Bump.
Has anyone achieved this, ensuring Forge can still connect?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi!
I have successfully installed laravel forge onto a custom VPS, and Forge can connect to it.
I would like to restrict SSH to port 1222. Of course when ssh'ing in myself I can specify the port... But is there a way to tell Forge to connect via a different port?
Thanks in advance guys.
Changing the port to something else won't help much. Just install fail2ban and it will ban them (and anyone else doing login fails).
Please or to participate in this conversation.