Using Bash write a script to automate granting / revoking of SSH access to several servers. Script should take a set of public keys (one per developer) and grant access to those users and remove access from users that don't have a key present.
Hi,
I need little more clarity on the requirement. Like, where the ssh keys will be stored, who wil be executing the script , etc.
You may please review my profile and if interested please contact me.
Thanks
I'm an experienced Linux Systems Administrator. Bash scripting is my bread and butter.
Processing a group of SSH keys should be pretty straight forward.
A couple of things to think about for your project:
Did you want to delete users that should be "disabled"? Or just erase their SSH key? If you want to delete them you're going to need to have a source where the script can read the user data to recreate them.
How's the script going to be getting the names of the users to disable?
Hello,
I have 8+ years of experience in Linux and distros background. Working with shell on day to day activities and certified RHCE engineer. I would like to get more details about the task and work on it.
Thanks