Skip to content

AuthArmor/autharmor-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

autharmor-ssh

Auth Armor 2FA authentication SSH plugin

Warning

You should have an alternative means of accessing your server in the event that you are unable to approve your Auth Armor 2FA requests such as a physical, graphical, or virtual TTY.

Install

Requirements: curl, awk, jq, uuidgen

git clone https://github.com/AuthArmor/autharmor-ssh.git
sudo cp autharmor-ssh/autharmor-ssh /usr/bin/
sudo cp autharmor-ssh/autharmor-ssh.conf /etc/
echo "ForceCommand /usr/bin/autharmor-ssh" | sudo tee -a /etc/ssh/sshd_config
sudo systemctl reload sshd

Use the Auth Armor dashboard to generate API keys and register users. When inviting users you should use their ssh username in the Nickname field.

Invite user

Once your user(s) have been setup, place your project's API keys (CLIENT_ID and CLIENT_SECRET) in /etc/autharmor-ssh.conf. Make sure your users are invited, enrolled, and working before saving your API keys to autharmor-ssh.conf. The plugin will not enforce 2FA unless these keys have been set.

About

Auth Armor 2FA authentication SSH plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages