I want to reduce the number of attempts to login into an SSH client from an SSH server to be 2-3. How do I change this is the config file of the server? this is in Ubuntu 16.04
The per-connection value is configured using MaxAuthTries
configuration option:
MaxAuthTries
Specifies the maximum number of authentication attempts permitted per connection. Once the number of failures reaches half this value, additional failures are logged. The default is 6.
To set lower, add MaxAuthTries 3
to your sshd_config
.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments