Re:YubiKey Bio Series
by amelius on Tuesday October 05, 2021 @05:52PM
(#28766141)
Ok, thanks! How do well does this key go together with workflows that use automation (e.g. daily rsyncs over the network that run in the background)?
[ Parent
| on HN ]
Not sure how you want to combine automated daily rsyncs with hardware keys. You can use OpenPGP for ssh authentication, and set it up so it prompts you when rsync starts automatically. However, do you really want your automated jobs to depend on having a human to answer prompts or at least having a key inserted when it's scheduled to run? It sounds like there could be a better setup.
My issue is that once I start using authorized_keys for automated processes, then it defeats the purpose of the key.
Why? authorized_keys holds public keys. Why would it defeat the purpose of a hardware private key?
Because if I can automatically log in through authorized_keys (used by my scripts), then it doesn't make sense to also have an authentication method that requires a key.
You could make an account with restricted permissions then use ssh-add for automated authentication.
Re:YubiKey Bio Series
by staticassertion on Tuesday October 05, 2021 @06:46PM
(#28766697)
FIDO keys are really more about avoiding human errors/ human auth. If you need to authorize a server you may want to just use a client certificate.