Hello,
ssh server can limit the number of concurrent connexions.
May be there is already the maximum of connexions while monit
try to test, and is rejected...
regards.
man sshd_config :
MaxStartups
Specifies the maximum number of concurrent unauthenticated con-
nections to the sshd daemon. Additional connections will be
dropped until authentication succeeds or the LoginGraceTime
expires for a connection. The default is 10.
Alternatively, random early drop can be enabled by specifying the
three colon separated values "start:rate:full" (e.g.,
"10:30:60"). sshd will refuse connection attempts with a proba-
bility of "rate/100" (30%) if there are currently "start" (10)
unauthenticated connections. The probability increases linearly
and all connection attempts are refused if the number of unau-
thenticated connections reaches "full" (60).
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general