Port 22 still open on Firewall after changing SSH port?

My YunoHost server

Hardware: VPS bought online
YunoHost version: 11.0.10.2
I have access to my server : Through SSH | through the webadmin

Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hi
I’ve (finally) changed the SSH port on my VPS (thank for the doc Sécurité | Yunohost Documentation) and every things work well!
I have one question after that : Why keep port 22 open on the FW? Should I close it ?

Thanks you.

Because port 22 is not automatically closed for … some reason … it’s a touchy topic because closing a port by mistake may lock the admin out of the machine and pretty sure we would get some legitly angry admin on this forum screaming they can’t access their server anymore. Only the “new”/current SSH port is magically added: yunohost/firewall.py at dev · YunoHost/yunohost · GitHub

Thank you. It’s clear. And thanks for the magic trick :wink:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.