Skip to content

Two-Factor Authentication with Telegram Bot for SSH / Shell Login.

Notifications You must be signed in to change notification settings

zerobyte-id-bak/2FA-SSH-Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

2FA-SSH-Shell

Two-Factor Authentication with Telegram Bot for SSH / Shell Login

Setup

Create Your Own Bot:

Chat @BotFather with /newbot

Setup Bot for OTP Sender

  • Open your API: https://api.telegram.org/bot[HTTP_API_KEY]/getUpdates
  • Chat your Telegram Bot
  • Copy your Chat ID BOT Chat ID
  • Download shell2FA source
  • Change configuration API KEY & Chat ID on "shell2FA" source
  • Move shell2FA to /bin/ (mv shell2FA /bin/)
  • chmod +x /bin/shell2FA
  • Change shell in /etc/passwd => Example /bin/bash to /bin/shell2FA /etc/passwd

About

Two-Factor Authentication with Telegram Bot for SSH / Shell Login.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages