Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
zquestz ( zquestz@lemm.ee )  to Linux@lemmy.mlEnglish · 3 years ago

SSH Hardening with ssh-audit

thoughts.greyh.at

external-link
message-square
6
link
fedilink
  • cross-posted to:
  • cybersecurity@lemmy.capebreton.social
74
external-link

SSH Hardening with ssh-audit

thoughts.greyh.at

zquestz ( zquestz@lemm.ee )  to Linux@lemmy.mlEnglish · 3 years ago
message-square
6
link
fedilink
  • cross-posted to:
  • cybersecurity@lemmy.capebreton.social
Today I explored ssh-audit, a tool designed to audit SSH configurations. Although it’s an excellent tool, I found the hardening guides somewhat lacking. Hence, I decided to write a detailed walkthrough, ensuring the ssh/sshd configurations are easily readable.
alert-triangle
You must log in or register to comment.
  • taaz ( taaz@biglemmowski.win ) 
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 years ago

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

    • zquestz ( zquestz@lemm.ee ) OP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

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

  • blarp ( blarp@lemmy.ml ) deleted by creator
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 years ago

    deleted by creator

  • PureTryOut ( PureTryOut@lemmy.kde.social ) 
    link
    fedilink
    arrow-up
    4
    ·
    3 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?

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 years ago

      Couldn’t you just use ssh port forwarding?

      • ReversalHatchery ( ReversalHatchery@beehaw.org ) 
        link
        fedilink
        arrow-up
        3
        ·
        3 years ago

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

      • PureTryOut ( PureTryOut@lemmy.kde.social ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 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

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 1 user / week
  • 453 users / month
  • 5.64K users / 6 months
  • 1.31K local subscribers
  • 68.1K subscribers
  • 8.11K Posts
  • 108K Comments
  • Modlog
  • mods:
  • AgreeableLandscape ( AgreeableLandscape@lemmy.ml ) deleted by creator
  • nooter692 ( nooter692@lemmy.ml ) 
  • MarcellusDrum ( MarcellusDrum@lemmy.ml ) 
  • Arthur Besse ( cypherpunks@lemmy.ml ) 
  • Cyclohexane ( cyclohexane@lemmy.ml ) 
  • d3Xt3r ( d3Xt3r@lemmy.nz ) deleted by creator
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code