sshpiper/plugin/totp
2022-07-21 09:17:45 +00:00
..
main.go add totp plugin 2022-07-21 09:17:45 +00:00
README.md add totp plugin 2022-07-21 09:17:45 +00:00

TOTP Working Directory plugin for sshpiperd

Add TOTP 2FA to ssh, compatible with all RFC6238 authenticator, for example: google authenticator, azure authenticator.

the plugin is load totp in working directory defined in workingdir plugin.

Usage

./sshpiperd ./totp -- ./workingdir

the secret should be stored in totp file in working directory. for example:

/var/sshpiper/username/totp