Score:0

How to lock an user account on failure of ssh PubKey based authentication on centos

mx flag

I am looking to lockout a user account for certain time on 3 consecutive failures of ssh PubKey based authentication. I have tried PAM approach, but that is actually working with password based authentication. so, how could i lock a user based on ssh PubKey authentication failure?

Thanks

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.