Skip to content

muse-sisay/tmate-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Receive tmate session id over telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages