• offspec@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 年前

    What do you mean? You literally just change the /etc/sshd config to point at a different port do you not?

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 年前

      Oh yeah, without systemd that’s all there is to it. With systemd, however, port management is taken out of the ssh config and is done how it was decades ago

        • Phoenixz@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          .Aube it’s distro dependent, but Ubuntu updated ssh a while ago to be passed through systemd. Updating the port requires systemd configuration changes