[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: restricting number of user logins



Mag Gam <magawake@gmail.com> wrote:
> Currently we do alot of `rsync -e ssh` to a host.  Is it possible to
> restrict only 5 logins per user on the server?  My goal is to avoid
> having 100s of these sshd processes running on the server which will
> slow it down.

Take a look at /etc/security/limits.conf, specifically the maxlogins
parameter.

Chris


Reply to: