Closed jyte closed 3 years ago
https://github.com/google/google-authenticator-libpam/issues/188#issuecomment-712951620
You could do something like here but for IPnets instead by using “pam_accees.so”
Yeah this is a PAM question, not a GA question. But yes pam_access.so
is very likely your solution.
Hi,
I don't really know if that is the right place to ask, so appologies if it is not, and any hint as to where to get an answer is welcome.
That said, I would like to setup my ssh to accept :
I can disable
PasswordAuthentication
insshd_config
and at the end add the following to still allow user login from LAN.However, I fail to get a working setup to the usecase described above.
Any idea ? suggestion ? I run ubuntu 20.04 if that is of any use.