logoalt Hacker News

traceroute66 • today at 3:03 PM • 1 reply • view on HN

Messing around with authorized keys files is inherently risk-laden. Stuff doesn't get put in. Stuff doesn't get taken out. Bad stuff gets put in by people accidentally or on-purpose.

Sure there are managed ways to do it, like `AuthorizedKeysCommand` or Ansible etc.

But for most people, especially those people allowing manual management of keys files, there are more cons than benefits of authorized keys.


Replies

Bender • today at 3:09 PM

It is a lot more involved and nuanced. Trigger warning: I would encourage people to use their favorite LLM flavor of the day to get a more detailed answer about all the pros and cons of using traditional SSH public keys vs. SSH CA certificates.

➕ show 1 reply