I'm having trouble limiting the njhumber of concurrent ssh connections, now I don't know if this is something new or not, I seem to recall being here before, but regardless, I have the MaxSessions set to 3 in my sshd_config file and note from the man page:
Code:
MaxSessions
Specifies the maximum number of open sessions permitted per net-
work connection. The default is 10.
But I seem to be able to connect as many times as I like, see my log entries below.
Code:
Jul 8 08:03:04 orion sshd[21107]: Accepted password for myuser from 81.137.xxx.xx port 57428 ssh2
Jul 8 08:03:16 orion sshd[21180]: Accepted password for myuser from 81.137.xxx.xx port 57429 ssh2
Jul 8 08:03:26 orion sshd[21253]: Accepted password for myuser from 81.137.xxx.xx port 57430 ssh2
Jul 8 08:03:36 orion sshd[21326]: Accepted password for myuser from 81.137.xxx.xx port 57431 ssh2
Jul 8 08:03:45 orion sshd[21399]: Accepted password for myuser from 81.137.xxx.xx port 57439 ssh2
Jul 8 08:03:54 orion sshd[21472]: Accepted password for myuser from 81.137.xxx.xx port 57440 ssh2
Note: I do have the MaxStartups set which is working as expected
Any suggestions?
Running Slack 14 64 with
OpenSSH_6.6.1p1, OpenSSL 1.0.1h 5 Jun 2014
Thanks in advance...