Remote server management with python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Remote server management with python

how can we manage and execute scripts on remote system irrespective of flavour or operating system with python ? your efforts are highly appreciated.

29th Sep 2017, 1:17 PM
Rahul Khanna
Rahul Khanna - avatar
2 Answers
+ 1
easiest would probably be to install SSH on each remote system that you want to manage, then you could roll your own administrative script. there are free software systems like ansible and chef that have already written most of the code for you. of course you could do something even easier like just opening a port (socket listen) and waiting for connections, but securing that port is very difficult and you risk inadvertently opening your systems to remote attack.
30th Sep 2017, 1:56 PM
Ryan Erwin
Ryan Erwin - avatar
0
thanks @Ryan, I worked on chef, its a great tool but comes with limitations of number of syatema can be managed. how can this be done? let's keep security on hold for initial phase.
30th Sep 2017, 6:15 PM
Rahul Khanna
Rahul Khanna - avatar