I want to successfully limit the number of SSH concurrent connections to 1 per user.
(without having to setup this limit on the port).
Maxsessions and maxlogins don't work.
All linux distro seems to allow concurrent ssh connections, unless you use iptables on a specific port.
I need to use 1 port only, and set this limit per user (basically for every user, except the root).
So John can have 1 concurrent connection max.
Lucy 1 concurrent connection max.
19 фрілансерів(-и) у середньому готові виконати цю роботу за €19
I know how to do it Please enter at least 100 [login to view URL] enter at least 100 [login to view URL] enter at least 100 [login to view URL] enter at least 100 characters.
Hi: I have one idea. But I am bidding 30Euro for this. Lets see if that fits with you? I am working in scripting technologies for several years in several UNIX systems. Thanks!
You can set limit to max session per user in this config file: /etc/security/[login to view URL] (/etc/limits.d/[login to view URL]) May be located in different place according to distribution.