Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 584 Bytes

File metadata and controls

21 lines (14 loc) · 584 Bytes

shell-bot

Simple Telegram bot written on bash that execute commands in shell. You can send commands to your server without SSH access, or open SSH port, or something like this. Support many master ID's, you can provide access for others.

Requirements: bash, curl, jq.

How to use:

  1. Clone git repository

  2. Insert bot token and your Telegram ID to config.sh

  3. a) Run shellbotd.sh in tmux/screen.

    or

    b) Run ./install.sh for create, enable and start systemd unit (better way).

For checking connection send ping in the chat.