04-08-2020 06:45 AM
Hello
Is there a way to setup /etc/pam.d/sshd and /etc/ssh/sshd_config for publickey OR password? In other words, If a user prefers password first factor versus publickey first factor. I’d like the option of both.
Solved! Go to Solution.
05-08-2020 08:25 AM
Solved.
I installed package “pam_2fa” and used the module “pam_ssh_user_auth.so” in /etc.pam.d/sshd
/etc/ssh/sshd_config
ExposeAuthenticationMethods pam-only
05-08-2020 08:25 AM
Solved.
I installed package “pam_2fa” and used the module “pam_ssh_user_auth.so” in /etc.pam.d/sshd
/etc/ssh/sshd_config
ExposeAuthenticationMethods pam-only
05-08-2020 11:05 AM
Thanks for sharing your solution!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide