Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ssh script help
#1
Hello

I have more than 90+ servers and each time a new user add in our group so we have to add their SSH key to each server to give access to the server, so tell me is there any way to do this task in less time by script rather than manually login to each server and add ssh key.
Reply
#2
Rather than writing your own script, you could look into existing tooling for automation, e.g. Ansible, which my team have used to do tasks like yours.
Reply
#3
any idea about code in ansible? @ndc85430
Reply
#4
I'm not suggesting you look at the code in Ansible, I'm suggesting you use the software to perform the tasks. Essentially, you write YAML files called playbooks that describe the tasks and these are then executed with Ansible. You should read the documentation.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020