• Kethal@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 days ago

    This doesn’t seem any different from encrypting them and using an ssh agent.

    • taco_shale032@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      3
      ·
      3 days ago

      I think that’s exactly what a password manager would do essentially, just in a user friendlier way.

      • lucas@startrek.website
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        How could it possibly be more user friendly than what is already and completely seamlessly integrated into the typical SSH flow?

        • jj4211@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          So it’s super easy for me day to day, I log in and my login password also drives add to the ssh agent.

          However, ssh-keygen and ssh-add and setting all that up is gasp a command line process and you actively have to search up how to do it.

          Password managers offer gui driving the oblivious user to do the same thing.

          I much prefer my way, but I would be tempted to indicate a password manager application if I’m having to tell someone else how to do it, especially in Windows where I don’t think you can integrate it as nicely.

          • lucas@startrek.website
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 day ago

            But SSH is already a command line tool? Besides, the guide in the article itself includes several steps of configuration (most likely in the command line) to set this agent up. I don’t really understand what ‘command-line process’ supposedly needs actively searching how to do it? Is it really that hard to remember (or tab-complete) ssh-keygen then follow interactive prompts?

            I feel like maybe I’m missing something here, and I’m not saying there can’t be reasons to do this, but I’m not following any ‘simplicity’ angle, given that all it’s doing is adding extra steps.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    All of the things I ssh into have keys, there is no way I am trusting anything without keys. There is no way I am remembering a 256 bit RSA encrypted key or sharing it with any one who does not need it. I change the ssh port when I am first setting something new up on my network, typically before I do anything else.

    There are only two things on my network with port 22 open, the first one sounds kinda wrong but it is my firewall, but it is open so that things can get to a vLAN that has a pi zero 2 on it acting as a honey pot.

  • Venia Silente@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Using something like Bitwarden? Why not just pass?

    Also a good note on the “panic”, sometimes when I read these articles they read like this:

    You can’t keep your SSH keys on disk! It’s unsafe! Give them to Huang, or the competition will!