2FA with SSH #67
Unanswered
dgalligani
asked this question in
Q&A
Replies: 2 comments
-
You probably can, but that would require making a PAM module and I have no idea or experience with this. Sorry. Out of curiosity: what's wrong with Google's? Why wouldn't you use it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'd not recommend attempting this as Googles PAM module appears to be entirely self dependent, if you wrote a PAM module that used this PHP code to validate it and something went wrong with the PHP in your server, you could end up in a situation where you are not able to log in to your server. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Rob,
many thanks for your work. I'm David, a sysadmin at a Scientific Investigation Center in Spain. I was wondering if I can use your code to implement 2FA with ssh instead of using Google's.
Beta Was this translation helpful? Give feedback.
All reactions