To mitigate the effort to maintain my personal server, I am considering to only expose ssh port to the outside and use its socks proxy to reach other services. is Portknocking enough to reduce surface of attack to the minimum?

  • this_is_router@feddit.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 年前

    Because then:

    • you also need to know the correct username
    • audits and logging shows which user used sudo to gain root access
    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 年前
      • you also need to know the correct username

      Use a secure password or key. Security by obscurity is no security.

      • audits and logging shows which user used sudo to gain root access

      That is not the point that was made. Once access to sudo or root you already have lost.