Hi all
I have many servers and many users that need to access them
I use ssh keys, generate one for each user and enable them adding their public key in authorized_keys
but it's a messy, a lot of keys and I don't know the exact configuration of every host, and I need to connect to check, revoke, add, etc
is there a tool to manage servers and users in a easy and fast way?
thanks
Managing SSH keys
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
-
- Level 4
- Posts: 280
- Joined: Wed Apr 13, 2016 1:57 am
- Location: Italy
Managing SSH keys
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Managing SSH keys
We use ansible for that kind of thing where I work. Ansible runs on one controller machine, connects to other machines (listed in an inventory file) with ssh and then runs scripted configuration tasks. It's easily capable of what you want to do, maybe overkill, but worth a look. https://docs.ansible.com/ansible/latest ... intro.html
-
- Level 4
- Posts: 280
- Joined: Wed Apr 13, 2016 1:57 am
- Location: Italy
Re: Managing SSH keys
I will try thanks
Re: Managing SSH keys
for many servers and many users you need something like idm. For example RedHat IDM. link below https://access.redhat.com/documentation ... troduction
You can create host access rules for users and map sudo rules.
Also you can read about freeipa https://www.freeipa.org/page/Main_Page
You can create host access rules for users and map sudo rules.
Also you can read about freeipa https://www.freeipa.org/page/Main_Page
Re: Managing SSH keys
Jay @ LearnLinuxTV got this series on ansible :
https://www.youtube.com/playlist?list=P ... yHpEsa4Y70
https://www.youtube.com/playlist?list=P ... yHpEsa4Y70