Welcome to the Monastery | |
PerlMonks |
Re^3: parse /etc/passwd and output it as csv in hundred serversby thanos1983 (Parson) |
on Apr 15, 2018 at 16:15 UTC ( [id://1212936]=note: print w/replies, xml ) | Need Help?? |
Hello again garcimo, Sorry for the late reply but I got busy and I missed your reply. Let's go through line by line what you said. I do not use 190 different password.. just one that can connect to all the servers I do not know if you use WindowsOS but in case you are using LinuxOS I would create a script and do the following (pseudo code):
The idea of the script is to bypass the ssh prompt on all nodes and then create ssh keys on all nodes. See also relevant question SSH - Key Authentication for more information on that. After that it is upon you if you want to capture the output of each node on different file stored in specific dir or append each node on one file. If in any case my description is complicated comment under and I will try to reply with more details on the part that you do not understand. Hope this helps, BR
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|