Skip to content

Implement 2FA for Raspberry Pi #236

@Manikandanrama

Description

@Manikandanrama

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions