Apparently I installed that thing in 2006 and I last updated it in 2016, then I quit updating it for some reason that I totally forgot. Probably laziness…

It’s been running for quite some time and we kind of forgot about it in the closet, until the SSH tunnel we use to get our mail outside our home stopped working because modern openssh clients refuse to use the antiquated key cipher I setup client machines with way back when any longer.

I just generated new keys with a more modern cipher that it understands (ecdsa-sha2-nistp256) and left it running. Because why not 🙂

    • ExtremeDullard@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      53
      arrow-down
      17
      ·
      edit-2
      4 months ago

      It’s behind a firewall. The only thing exposed to the outside is port 22 - and only pubkey login too.

      And gee dude… It’s been running for 18 years without being pwned 🙂

      • ivn
        link
        fedilink
        arrow-up
        79
        arrow-down
        2
        ·
        4 months ago

        without being pwned

        How do you know?

      • n2burns@lemmy.ca
        link
        fedilink
        arrow-up
        67
        arrow-down
        3
        ·
        4 months ago

        And it’s not like it contains any sensitive information. I’m sure all your emails are just friendly correspondence with your pen pal.

      • schizo@forum.uncomfortable.business
        link
        fedilink
        English
        arrow-up
        35
        arrow-down
        2
        ·
        4 months ago

        I’d still maybe build a modern OpenSSH package.

        There’s been an awful lot of RCEs in the past two decades and uh, if that’s rawdogging the internet, I’m honestly shocked you haven’t been hit with any by now.

        • Sbauer@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          4 months ago

          Eh, building anything modern on a system that old would be painful I bet.

          Maybe you could use https://github.com/openssh/openssh-portable since that’s meant to be portable. I’d certainly would give it a try if I didn’t want to bother trying to upgrade that system. Then again, trying to upgrade it through the releases to a modern Debian might be fun too.

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        27
        arrow-down
        2
        ·
        4 months ago

        How do you know? Do you constantly monitor running processes, performance and network connections?

      • rhacer@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        2
        ·
        4 months ago

        Did you really only use it when you were home? If you used it outside the firewall then port 25 must have been open also.

        I used to run my own server and this was in the early 90s. Then one day, perusing the logs I realized I was not smart enough on the security front to even attempt such a thing. It was quickly shut down and the MX record moved to an outsourced mail provider.

    • psycho_driver@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      11
      ·
      4 months ago

      Most ‘hackers’ are just mid tier (mediocre) IT level types who rely on existing exploits floating around in the wild. It’d probably be hard to find any still in circulation for such an old system.

      • limonfiesta@lemmy.world
        link
        fedilink
        English
        arrow-up
        24
        arrow-down
        1
        ·
        edit-2
        4 months ago

        We’re not talking about some punch card COBOL machine he jimmy rigged with network access, it’s an old Debian Linux box with SSH enabled.

        It’s not like Metasploit would have a tough time finding unpatched vulnerabilities for it…

          • limonfiesta@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            4 months ago

            Unless it’s for SMTP only, it’s probably a back end sever to some other front facing box, or service, that has IP addresses whitelisted for email.

            I’m pretty sure I read one of his comments elsewhere talking about tunneling everything over SSH, so I assume that’s what he meant, but I could be mistaken.

            Regardless, using an EOL distro as an internet facing SSH server that’s 8 years behind on SSH updates, is probably a bad idea.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        4 months ago

        It isn’t the “hackers” you should worry about. Its the nation states that take over huge numbers of machines.

        • DemocratPostingSucks@lemm.ee
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 months ago

          If the NSA (GCHQ here in the UK) want my emails they’re getting it either way, I’m not able to stop nation states

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            4 months ago

            I was more referring to foreign countries and cyberwarfare. Like it or not counties have now realized cyberattacks can be very devastating. A compromised server may very well be used for all sorts of purposes that many are probably not ok with.

        • PlexSheep@infosec.pub
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          4 months ago

          As a private person, defending against nation threat actors is impossible. And not only as a private person, but even as a medium sized company.

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            3
            ·
            4 months ago

            You just need to not be the easy target. You don’t need outrun the bear you just need to be ahead of whatever Joe is doing