which will only allow two connections from any given IP address, in a rolling 60-second window. You will need to be careful to put these rules in the right place in your INPUT chain.
See my writeup for more information, if you're interested.
No, not that I know of. There is no such thing with openssh.
What you have is
MaxStartups
Specifies the maximum number of concurrent unauthenticated connections
to the SSH daemon. Additional connections will be dropped until authentication
succeeds or the LoginGraceTime expires for a connection. The default is 10.
But I don't think this is what you were looking for.
You can do rate-limiting easily with iptables, and this can be done without giving the machine a full firewall.
The code is
which will only allow two connections from any given IP address, in a rolling 60-second window. You will need to be careful to put these rules in the right place in your INPUT chain.
See my writeup for more information, if you're interested.
No, not that I know of. There is no such thing with openssh.
What you have is
But I don't think this is what you were looking for.