posted in Selfhosted
You can't afford to keep your SSH keys on disk
cross-posted from: lemmy.bestiver.se/post/1462999
jola.dev/posts/you-cant-afford-ssh-keys-disk
posted in Selfhosted
You can't afford to keep your SSH keys on disk
cross-posted from: lemmy.bestiver.se/post/1462999
jola.dev/posts/you-cant-afford-ssh-keys-disk
Replying to @taco_shale032@lemmy.ml
Just use a password-protected private key?
Replying to @silenium_dev@feddit.org
And type a password when I ssh to my servers? Like some caveman?
Replying to @ExLisper@lemmy.curiana.net
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.
Replying to @jj4211@lemmy.world
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