How can I automate SSH key updates for users on my cluster?

0
0
Asked By TechieTribe42 On

Hi everyone! I'm the solo sysadmin for a small computer cluster consisting of three Rocky Linux machines. Currently, there's no central authentication set up, which means I frequently get requests from users for SSH key enrollment. In our setup, the cluster is only accessible via SSH keys as per our cybersecurity protocol. To streamline the process, I ask users to upload their SSH keys to GitHub so I can easily retrieve them using curl. I'm wondering if it would be feasible to automate this process by pulling the keys from GitHub every 10 minutes. This way, users could manage their own keys without needing admin rights, potentially reducing the number of requests I receive. What do you think?

1 Answer

Answered By SSHWizard88 On

How many users are we talking about here? If it's around 30-40 and they’re getting new keys a few times a week, automating could definitely save you a lot of hassle! Just make sure the GitHub accounts are all controlled properly since security is key.

SysAdminNinja -

Yeah, that sounds like a manageable size, but it really depends on how often they need to update keys. Could become a full-time job if it gets out of hand!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.