May-11-2017, 05:02 PM
Hi, im looking to make a program that connects to 20+ remote machines and runs some commands on them and also downloads some files from them.
Because the number of remote hosts is high and will increase in future, i was thinking i would make a simple database (mysql) that has id, description and ip_add field, the program would then get the ip's that it should connect to from the database. I would also make a simple .php site for adding and removing remote hosts from the database.
Does this kind of setup make any sense? Or is there some other solution that anyone can think off?
Im just starting to learn python so im not sure if what i have planned makes any sense.
For the actual connecting to remote hosts i was thinking of using paramiko.
(no coding done yet, still on planning phase, sorry)
Thanks
Because the number of remote hosts is high and will increase in future, i was thinking i would make a simple database (mysql) that has id, description and ip_add field, the program would then get the ip's that it should connect to from the database. I would also make a simple .php site for adding and removing remote hosts from the database.
Does this kind of setup make any sense? Or is there some other solution that anyone can think off?
Im just starting to learn python so im not sure if what i have planned makes any sense.
For the actual connecting to remote hosts i was thinking of using paramiko.
(no coding done yet, still on planning phase, sorry)
Thanks