Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement 2FA for Raspberry Pi #236

Open
Manikandanrama opened this issue Oct 30, 2023 · 3 comments
Open

Implement 2FA for Raspberry Pi #236

Manikandanrama opened this issue Oct 30, 2023 · 3 comments

Comments

@Manikandanrama
Copy link

i am trying to enable 2FA in my raspberry pi board
i have added google-authenticator-libpam to my build. I have followed these steps, which are mentioned below.

1.Added google-authenticator-libpam pack in my build
2.add the auth equired pam_google_authenticator.so nullok line in sshd file which is located in the /etc/pam.d/ directory
3.set the value yes to KbdInteractiveAuthentication in the sshd_config file which is located in the /etc/sshd/ directory
4.Generate the code and done as per guidance

but here 2FA is not enabled.
shall i need more configuration?

@Manikandanrama Manikandanrama changed the title Can't Implement 2FA Implement 2FA for Raspberry Pi Oct 30, 2023
@ThomasHabets
Copy link
Collaborator

  1. What's a "build"?
  2. I assume the typo is not in your actual config?
  3. Did you restart SSH, or reload its config?
  4. What's "as per guidance"? You may have done it right, but clearly at least one thing in your config is wrong.

What do log files say?

How did you manage to file this bug without following the templates? The templates are there for a reason (e.g. the questions I asked), so is there a way to file this issue without being asked for a template?

@Manikandanrama
Copy link
Author

@ThomasHabets
Do you mean Authentication type?

@ThomasHabets
Copy link
Collaborator

I mean equired.

Please edit your bug filling in everything from the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants