by sidneythekidney · 2w ago · 0 comments
Edit: well, maybe not exact. With -sk keys you’d have to type in a passphrase instead of a pin. But that passphrase could be a pin.
1. This method only works (securely) for non-resident keys. 2. hence requiring having pk stub copied manually to every machine 3. its passphrase is prone to brute-force
While piv based ssh keys solve those 3 problems (with one caveat, left for a careful reader :)
I don’t use them personally. I like to tie ssh-keys to machines, so using non-resident keys always seemed like a good fit.
the Secure Enclave get stolen or lostThanks for the tip! I'll try that this evening, I'd love to move to FIDO keys if possible.
That's why OpenSSH can support 2 or more public keys per login.
Typically, 2+ public key authentication is used to secure the host and the user separately.
Adding a 3rd is your PIN.
Heck, you can even add a 4th for the host's PIN.
More on setting up OpenSSH for multiple public keys:
https://serverfault.com/questions/880051/how-to-list-all-ope...