Limit number of connections per user?

Goran Hasse gorhas at gmail.com
Fri Apr 16 06:28:19 EST 2010


Educate your customer - don't just take his money!

GH

2010/4/15 Scott Neugroschl <scott_n at xypro.com>:
> because I have a customer who requested it?
>
>> -----Original Message-----
>> From: Goran Hasse [mailto:gorhas at gmail.com]
>> Sent: Thursday, April 15, 2010 1:24 PM
>> To: Scott Neugroschl
>> Cc: openssh-unix-dev at mindrot.org
>> Subject: Re: Limit number of connections per user?
>>
>> Why do you want to do this! This is totaly against all
>> praxis in a Unix environment! Users will bee VERY anyoyed. If they log
>> in from
>> home and then go to some other place and try to login and the server
>> says "rejected"
>> they will just get mad. (In my opinion). And mostly because they don't
>> understand
>> the logic in this. A unix is a multiuser, mutli session environment.
>> Scrap this idea!
>>
>> GH
>>
>> 2010/4/15 Scott Neugroschl <scott_n at xypro.com>:
>> > I'm working from modified 5.0p1 codebase.
>> >
>> > What I'm looking for is a mechanism to limit the number of
>> simultaneous
>> > connections on a per-user/IP basis.
>> > That is, disallow multiple simultaneous logins/authentication of the
>> > same user from different IP addresses.
>> >
>> > e.g.:
>> >
>> > fred from 10.1.1.1 - accept
>> > fred from 10.1.1.2 -- reject while fred is still connected from
>> 10.1.1.1
>> > fred from 10.1.1.1 - OK (same IP)
>> > --- all freds log out
>> > fred from 10.1.1.2 -- OK (fred not logged in)
>> >
>> > Is this doable, or not?  I realize that the sshd architecture may
>> make
>> > this difficult or impossible.
>> >
>> > ----
>> > Scott Neugroschl
>> >
>> > _______________________________________________
>> > openssh-unix-dev mailing list
>> > openssh-unix-dev at mindrot.org
>> > https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>> >
>>
>>
>>
>> --
>> gorhas at gmail.com
>> Mob: 070-5530148
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>



-- 
gorhas at gmail.com
Mob: 070-5530148


More information about the openssh-unix-dev mailing list