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?

  • tinsukE@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Sounds like security through obscurity to me.

    Highly susceptible to replay and man in the middle attacks.

    If you’re gonna combine that with another authentication method (and you should), then I see little advantage over just going with the other auth method.

    • aksdb@feddit.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Sure? It certainly detracts bots that now don’t discover the SSH port anymore. Against a targeted attack it’s less useful, but that is a very hard problem in any case. If someone is out to get you specifically, it will be a tough battle.