In the sshd_condifg I have set following entries:
maxstartups 50:100:50
clientalivecountmax 3
maxauthtries 3
But still in the ps
results I can see at least processes that look like this:
ps -fe|grep aaa_test
(...)
root 11014 5023 0 Oct13 ? 00:00:00 sshd: aaa_test [priv]
root 11164 11014 0 Oct13 ? 00:00:00 sshd: aaa_test@notty
(...)
ps -fe|grep notty|wc -l
245
Why is this happening? How can I limit the user to open max 3 connections using same username
and maximum of 50 connections in total (all users)?