• 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