Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 816 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 816 Bytes

tmate sender


INSTALLATION

  • Install dependencies
$ sudo apt install tmate

SETUP

Start by cloning this repo.

  • Create telegram_bot using Bot Father
    Guide

  • Get your chatID. Use this bot

  • Edit tmateSender.sh

edit token, chatID and network interface.

...
18 TOKEN= your-telegram-bot-token
19 CHAT_ID= chat-id
...
23 INTF= main-interface
...
  • Add script to cron to start at reboot
@reboot ~/path/tmateSender.sh

CUSTOMIZATION

  • Change greeting

TO DO

  • Use systemd than cron job
  • script explanation
  • Write usecase