Re: Restrict SSH connections

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

 



Le 25/02/2020 à 10:56, Amit Prajapati a écrit :
Hi,

Is there a way to restrict the number of active SSH client connections to
an sshd server.

Thanks & Regards,
Amit

Hi,

(Not a specialist but I make a try. It seems to be a good way to
learn.)

It seems to be only possible on the server configuration.

Clever or not, maybe use some conditional parameters in
sshd_config ?
Something like:

Match Group adminA
  MaxSessions 8
Match Group adminB
  MaxSessions 4
Match User UserA
  MaxSessions 1
Match User UserB
  MaxSessions 2

I think it's easier to centralize this type of configuration but
I don't know what's your situation.

Best regards,
--
benoist
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux