Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

2FA with SSH #67

Unanswered
dgalligani asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 2 comments

Comment options

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?

You must be logged in to vote
0 replies
Comment options

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.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /