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.

  • talkingpumpkin
    link
    fedilink
    arrow-up
    17
    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
            6
            ·
            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
        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.