i am using only key based authentication . i went through different articles and as per those , PAM does not come in picture when we use key based authentication .
so if this is so , which setting decide "do not use pam if there is key based authentication"
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
so if this is so , which setting decide "do not use pam if there is key based authentication"
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