-
Register your account on ngrok.com
-
Login to your account and get/copy Authtoken(authentication token) in "Get started" option
-
fork this repo (https://github.com/mjuned47/GHActions_SSH) If you are using mobile then , click to desktop site and fork :
-
after adding secrets , go to actions , select workflow (ubuntu-ssh) and run it
-
wait for some seconds ,you will see message like "ssh [email protected] -p xxxxx"
-
copy this and open termux/terminal and install openssh For termux : apt update && apt install openssh
-
Paste and execute ! You will be asked to enter password which you have set in secrets
- GITHUBMAIL = github gmail
- GITHUBNAME = github username
- NGROK_TOKEN = authentication token which you got from ngrok.com
- SSH_PASSWORD = ssh password and it will be asked during login
- TELEGRAM_BOT_TOKEN = telegram bot token id which you might got after creating bot
- TELGRAM_CHAT_ID = telegram group chat id ( create a group , add your created bot, add IDBot(telegram official bot) , now message /getgroupid in that group you will get group id)