How pam authentication works with ssh keys ?
does pam auth module get called while using key for ssh login ?
below is my sshd config setting :: # Enable public key authentication PubkeyAuthentication yes # Never use host-based authentication. It can be exploited. IgnoreRhosts yes IgnoreUserKnownHosts yes HostbasedAuthentication no # Enable PAM to enforce system wide rules UsePAM yes |
Judging from https://bugzilla.redhat.com/show_bug.cgi?id=1492313, sshd only uses PAM authentication with password-based login.
Quote:
|
Thanks this was helpful .
|
Also, look at the AuthenticationMethods configuration directive in the manuage page for sshd_config. You can use it to require multiple authentication methods in a particular sequence. So if you want PAM after getting a valid key-based authentication then that's doable.
|
All times are GMT -5. The time now is 03:02 PM. |