0
在我已经设置了sshd_condifg以下条目:SSH和maxstartups混乱
maxstartups 50:100:50
clientalivecountmax 3
maxauthtries 3
但仍处于ps
结果我可以看到在看起来像这样至少流程:
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: [email protected]
(...)
ps -fe|grep notty|wc -l
245
这是为什么发生了什么?如何限制用户使用相同的username
和最多50个连接(所有用户)打开最多3个连接?