In this project I have explained, How you can connect to the target Linux base host remotely python code & store it in the database .
Here I stored in Mongo DB.
I have uploaded the code to GitHub, You can take it for reference.
https://github.com/iAmLipun/Project_P...