-1

Is it possible to have a global authorized_keys file that associates each user to their own public key?

For example, I would like to create multiple user accounts by their Github user name and public key. Instead of iterating through each user & key, can I dump them to a single global authorized_keys file? e.g. githubusername: publickey

eppixdev
  • 1
  • 1

1 Answers1

0

Not as part of stock OpenSSH, no. Many years ago I patched OpenSSH to do lookups of keys into MySQL, and it wasn't particularly difficult, so you could give that a go if you're dead set on going down that path.

womble
  • 95,029
  • 29
  • 173
  • 228