News for hackers. Stuff that matters.
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)?
Re:YubiKey Bio Series by jolmg on Tuesday October 05, 2021 @05:59PM (#28766222)
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.
Re:YubiKey Bio Series by amelius on Tuesday October 05, 2021 @07:07PM (#28766891)
My issue is that once I start using authorized_keys for automated processes, then it defeats the purpose of the key.
Re:YubiKey Bio Series by jolmg on Tuesday October 05, 2021 @07:14PM (#28766940)
Why? authorized_keys holds public keys. Why would it defeat the purpose of a hardware private key?
Re:YubiKey Bio Series by amelius on Tuesday October 05, 2021 @07:23PM (#28767022)
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.
Re:YubiKey Bio Series by willis936 on Tuesday October 05, 2021 @10:40PM (#28768559)
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.