Why change the SSH port of a home server, which most likely is not reachable from the outside anyway?
And if it is, why change it on the server and not in the fw?
Comment on [deleted]
truthfultemporarily@feddit.org 3 weeks ago
This is mostly nonsense.
Don’t just copy random config from the internet, as annoying as it is, read the docs.
Why change the SSH port of a home server, which most likely is not reachable from the outside anyway?
And if it is, why change it on the server and not in the fw?
If you change it, definitely change it on the server so it shows up in netstat and is consistent.
I mean keep using port 22 on the server and redirect whatever port you want in your firewall (your router unless you have a dedicted fw) to port 22. Don’t change the ssh port on the server at all.
I understand this, but this is inconsistent behavior. You now use 22 inside your network and something else outside. Whenever you create inconsistent behavior, everyone using it has to have an awareness of all these inconsistent behaviors.
Also, it is hard to troubleshoot because the tool most admins would want to use (netstat) will not give you useful information to understand the situation.
Til about lkrg.
Mordikan@kbin.earth 3 weeks ago
But you need that legal banner in case your spouse acts up and you need to throw their ass in prison.