Limit number of connections per user?
chrivers at iversen-net.dk
Fri Apr 16 22:05:55 EST 2010
On 2010-04-15 23:19, Scott Neugroschl wrote:
>>>>> because I have a customer who requested it?
>> Try to reach ot the reason he wants it. I guess he really wants a
>> which bans multiple unsuccessful login attempts. Not allowing Fred to
>> twice could be done with PAM, but it would be like shooting itself in
>> the foot.
>> The users will still be able to run many programs (or just a single
>> with an high load), and when their connection drops (as will happen if
>> are not all in the same intranet) and they retry they will discover
>> server hasn't noticed yet and they are locked out.
> [[SAN]] What I'm really looking for is what Francois mentioned -- a ban
> on simultaneous logins from multiple IPs.
Check out fail2ban. It will block hammering attempts.
And always try to figure out what the customers _really_ want ;-)
Med venlig hilsen
More information about the openssh-unix-dev