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

        You use ssh-agent and ssh-add to take the passphrase hit once, then on disk copy is protected and it is mostly password less.

        Mine unlocks with PAM, so on login without additional step.

        • silenium_dev@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          Even better, put the passphrase into your keyring (which is password-protected with your login password by default on most DEs) and set your keyring as the default askpass provider

          Or the most secure of all, use a physical passkey/smartcard like a Yubikey or Nitrokey

      • silenium_dev@feddit.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Oh shit, totally forgot about that. Yeah, then that’s definitely the worst solution ever, and we must write an article, no, multiple articles about how insecure SSH keys are!!!1!1!1!1!!