I’ve created a GUI for modifying ssh_config files. This makes it easy to add, modify and reorder directives and entire blocks, and see how they work in action.

It resolves effective configuration and marks any directives that is shadowed by a higher block or a global options.

directives

effective

raw

Currently it comes as a component in SSH Pilot and you can try it now but I plan to publish it as a standalone application too.

Feedback and ideas are welcome.

  • TurboWafflz@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    54 minutes ago

    Wow this is great! I’m so glad all the ram and water we no longer have access to is being used so I can type slightly less to write my SSH config! This will pay for itself in the decrease of wear on my keyboard alone!

  • talkingpumpkin@lemmy.world
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    7 hours ago

    I understand that ssh config may seem complicated to a newbie (it isn’t).

    The healthy reaction should be to read the f. manual and learn (it’s not hard), not to ask an LLM to code some slop app that makes easy things easier.

      • Bo7a@piefed.ca
        link
        fedilink
        English
        arrow-up
        8
        ·
        6 hours ago

        A GUI is not necessarily easier than a CLI and a GUI for writing a text file is straight up ridiculous.

        • mfat@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          arrow-down
          4
          ·
          6 hours ago

          You mean something that auto-completes keywords, flags incorrect options, resolves precedence and allows easy reordering is not useful?

          • Bo7a@piefed.ca
            link
            fedilink
            English
            arrow-up
            5
            ·
            5 hours ago

            Not for a config file. Especially an ssh conf. That file is way too important and powerful to use shortcuts in.

            Listen I get it. New People come to Linux and they’re like where’s the GUI for this.

            Sometimes there is no reason. But I think you’ll find that most of the time there isn’t a shortcut or a trick or a tool. It’s because the thing you’re doing is intrinsic to your system and needs to be undertood.

            You should not be trying to find ways to shortcut editing your important config files. You should read them fully and understand the parameters fully.

            In my opinion; Tools like this just make it easier for people with no knowledge to brick things.

            • mfat@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              4 hours ago

              I know almost everything about sshconfig. I’ve been dealing with it for years. If you actually test the app you’ll see it’s trying to make it easier to diagnose issues using standard ssh tools (ssh -G and ssh -F).

              And you always see a live preview of the raw config file. Nothing changes unless you explicitly press save. So trust me nothing will break.

      • talkingpumpkin@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        6 hours ago

        Generally speaking (IDK if this applies to your tool), the issue is that by making easy things easier one makes hard things even harder.

        • mfat@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          3
          ·
          6 hours ago

          It all depends on how you do it. Each project should be judged on its own mertits.

  • littleomid@feddit.org
    link
    fedilink
    English
    arrow-up
    31
    ·
    8 hours ago

    A vibe coded project with no AI disclaimer doing something very very sensitive that a text editor does but with a dose of LLM. What’s the point?

    • mfat@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      32
      ·
      edit-2
      6 hours ago

      What’s the point of an AI disclaimer? Most code right now is LLM-generated anyway, even at big companies. This project is well maintained, has extensive testing and has regular security audits.

      • zener_diode@feddit.org
        link
        fedilink
        arrow-up
        13
        ·
        6 hours ago

        Most code right now is LLM-generated

        I wouldn’t be so sure about that. Sure, lots of new code from the last few years is LLM-generated, but I think you underestimate how much old code there still is.

        But to me, your argument sounds a bit like “Why would I need to label where my products are produced? Most clothes right now are mass produced in sweatshops in Asia at horrendously low wages and with no regard for the environment anyways. The clothes I’m selling just have an extra quality control department looking at them.”

        And that argument somehow just doesn’t convince me.

        • mfat@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          7
          ·
          6 hours ago

          Anthropic provides free access to their OSS Scanner service for opensource projects.

          It automatically scans my repo and flags vulnerabilities. Results are delivered by email.

          • Bo7a@piefed.ca
            link
            fedilink
            English
            arrow-up
            9
            ·
            5 hours ago

            The fact that you don’t understand what a code audit is is one good reason to not let your LLM generated code make changes to important system files. Jesus Christ, I feel like I’m taking crazy pills when I read these damn posts.

            • mfat@lemmy.mlOP
              link
              fedilink
              arrow-up
              1
              arrow-down
              3
              ·
              4 hours ago

              LLM-assisted audits have uncovered bugs that had existed in your secure “human written” code for decades. So they are proven to be better.

              • Bo7a@piefed.ca
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 hours ago

                Read the reply from Gary. What you have done is not a code audit. It is useful but it is not a code audit.

          • ghost_laptop@lemmy.ml
            link
            fedilink
            arrow-up
            5
            ·
            edit-2
            5 hours ago

            that is not an audit, it simply scans and checks dependencies and code and based on that flags vulnerabilities. it is a good thing to do, tho, but it’s not on the same scale as an audit. i’d welcome you to post on !aials@lemmy.ml next time since it’s a community for this kind of projects. although i agree with others who point out that this is a delicate thing to code, ai assisted or not.

    • mfat@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      6
      ·
      7 hours ago

      This is only one component of a full featured app, with terminal tabs, SFTP file manager and more.