social.sour.is
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@zquestz@lemm.ee to Linux@lemmy.mlEnglish • 2 years ago

SSH Hardening with ssh-audit

thoughts.greyh.at

external-link
message-square
13
fedilink
116
external-link

SSH Hardening with ssh-audit

thoughts.greyh.at

@zquestz@lemm.ee to Linux@lemmy.mlEnglish • 2 years ago
message-square
13
fedilink
alert-triangle
You must log in or register to comment.
  • @taaz@biglemmowski.win
    link
    fedilink
    English
    15•
    edit-2
    2 years ago

    Also this: https://words.filippo.io/ssh-whoami-filippo-io/

    • @zquestz@lemm.eeOP
      link
      fedilink
      English
      2•2 years ago

      Fun, I didn’t know about this. =)

  • @blarp@lemmy.ml
    link
    fedilink
    English
    10•2 years ago

    i am so happy that this didn’t get downvoted to oblivion. thanks!

  • @RegalPotoo@lemmy.world
    link
    fedilink
    English
    7•2 years ago

    Cool,.but from the post it seems like all it does is:

    • Recommend disabling old algorithms, which you would have already done if you followed a modern hardening guide like https://infosec.mozilla.org/guidelines/openssh
    • Detect if you are running a known-vulnerable version of OpenSSH, which wouldn’t be an issue if you keep good patch hygiene and install your SSH server through you operating systems’ package manager

    So what’s the point? Who is this for?

    • @jwhardcastle@dmv.social
      link
      fedilink
      English
      14•2 years ago

      Scripting, to confirm that a large fleet of boxes are all running according to your policy. Verification that the config you want is actually the config you have.

      • 𝒍𝒆𝒎𝒂𝒏𝒏
        link
        fedilink
        3•2 years ago

        This is exactly what I use it for 👌 very handy for this

  • @iuser@lemmy.world
    link
    fedilink
    English
    4•2 years ago

    Thanks for pushing the awareness.

  • PureTryOut
    link
    fedilink
    3•2 years ago

    Personally I made sure SSH is only accessible when connected through a VPN setup for that purpose. As in, that same machine hosts a Wireguard setup (through Tailscale) and you need to connect to that first before SSH is available. And then SSH also only accepts key-based authentication. I don’t think I need more than that?

    • @9488fcea02a9@sh.itjust.works
      link
      fedilink
      3•2 years ago

      What if wireguard has issues? Then you cant ssh in to fix

      • GreenBottles
        link
        fedilink
        2•2 years ago

        that really just depends on your scenario

    • Possibly linux
      link
      fedilink
      English
      1•2 years ago

      Couldn’t you just use ssh port forwarding?

      • @ReversalHatchery@beehaw.org
        link
        fedilink
        3•2 years ago

        If they use the VPN for other things too, it’s simpler this way

      • PureTryOut
        link
        fedilink
        1•2 years ago

        Sure but I rather not have the SSH port open to the world, it just makes it harder for attackers to get in this way. Besides I use the VPN for more things, some self-hosted services I don’t want accessible by the whole world.

Linux@lemmy.ml

!linux@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@lemmy.ml

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 872 users / day
  • 3.39K users / week
  • 8.37K users / month
  • 17.7K users / 6 months
  • 54.2K subscribers
  • 7.86K Posts
  • 210K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org