Information
The Junos default behavior for login security provides reasonable protection from password guessing attacks, but may not be suitable for every environment.
Limit the maximum number of times a user is allowed to attempt to authenticate with the wrong password before the connection is terminated. The range is from 1 through 10. The system default is 10.
Solution
Configure login security for the number of failed login attempts before the attempt is disconnected.
user@host# edit system login retry-options
user@host# set tries-before-disconnect 3