CMSysBot (Telegram bot)
Centralized Management for Systems Administration (CMSysBot) it is a Telegram bot that allows you to manage computers in a local network from the bot itself, for example, execute a series of commands on all computers automatically, or perform updates and collect information from computers, all in a centralized way.
How to install
First of all, you need a server with any GNU/Linux distribution, we have tested this bot on a Debian based operating system.
Once you have installed your server operating system, you have to download the bot from GitHub, install Python3 libraries and system dependencies:
git clone https://github.com/oddworldng/cmsysbot-telegram.git
Install Python3 libraries
Go into cloned folder
cmsysbot-telegram and execute:
Install system dependencies
sudo apt install -y sshpass
How to run (server)
To run this bot in your server, go to your git cloned folder
cmsysbot-telegram (by default) and execute this command:
How to configure
First of all, you have to create a new Telegram bot using BotFather bot and get the bot
Once you've got it, copy your bot token into
config/config.json file, in
Make sure to fill up all fields in the
How to run (client)
That's all! now you can open your Telegram client and get into your created bot
@YourTelegramBot and start to use it.