On Mon, Dec 13, 2021 at 08:52:55AM +0800, Piper H wrote: > Hello members, > After installation debian. shall I change the default SSH port (22) to a > random port? > Shall I disable the root login? and what other policy should be applied > generally for security? > Thanks > Piper
I would recommend starting here: https://www.debian.org/doc/manuals/debian-handbook/security.en.html https://www.debian.org/doc/manuals/securing-debian-manual/index.en.html They might have some sections that are a little outdated. But most of the principles are still applicable, even if the precise implementation is a little different as compared to a few years ago. Regards, -Roberto -- Roberto C. Sánchez