Jean-Michel Pouré - GOOZE wrote:
> * If possible, I would like to restrict the number of concurrent
> sessions in OpenSSH an set it to one. There should be no idle session.
> If someone is already connected doing debugging, OpenSSH should reject
> connection. This is the most tricky part of the settings as I have NO
> IDEA how to achieve this. 

You can modify sshd a little or use some PAM module which I'm sure
can implement this policy.

For sshd you can start by setting MaxSessions to 1, but there's no
MaxAuthenticatedSessions setting. Be careful with MaxStartups, or
it becomes very easy to deny service.


//Peter

Attachment: pgp61BsKzbAG3.pgp
Description: PGP signature

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to