Answer the question
In order to leave comments, you need to log in
It is necessary to connect the telegram bot to the Linux server to manage it, how to do it?
It is necessary that the inline button be able to send commands to the server, for example: import, view the contents of the server file and export it.
Library telegrambotAPI - telebot
how to implement commands in the script itself is unclear to me ..
Answer the question
In order to leave comments, you need to log in
running a linux server is best done by more secure and tested standard means, all these bots tend to get hacked (especially if badly written) or crash at the wrong moment - do you need it?
If you just play around to learn - learn how to simply execute a command as a user without privileges - ls, pwd, cat $ textfile, $ uptime
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question