ssh login-attempts
Use this command to set the number of times that a user can try to log in to a SSH session.
Use the no form of this command to set the number of login attempts to its default (3).
Command Syntax
ssh login-attempts RETRIES (vrf management|)
no ssh login-attempts (vrf management|)
Parameters
RETRIES
Number of retries <1-3>
management
Management VPN routing/forwarding instance.
Default
By default, the device attempts to negotiate a connection with the connecting host three times.
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#ssh login-attempts 3
Last modified date: 08/28/2023