MFA for SSH in python
A set of scripts to add Email or SMS authentication to SSH
Project Aims:
- Easily deployable, MFA plugins for SSH servers
- Provide options for server administrators to secure their SSH servers
ssh user@server
password: P4s5****
MFA code:
user@server:~$
Features
SMS MFA: A two-factor authentication solution that uses text messages and randomly generated codes to secure SSH servers
Email MFA: A two-factor authentication solution that uses emails and randomly generated codes to secure SSH servers
Written in python for compatibility and ease of configuration
Process
SMS
Script generates randomised 4 digit MFA codes for SSH login
For SMS, generated codes are sent via SMS using the textlocal API
For email, generated codes are sent to the users registered email address
Users enter code ther were sent to authenticate