ssh login-attempts
Use this command to set the number of times SSH client would try to authenticate to establish the SSH session.
Use the no form of this command to set the number of authentication attempts to its default (3).
Note: By default, SSH clients may send the keys to authenticate, such a implicit authentication failures would also decrease authentication attempt count. Hence the configured value is not directly proportional to the user's password based authentication attempt.
Command Syntax
ssh login-attempts <1-3> (vrf management|)
no ssh login-attempts (vrf management|)
Parameters
<1-3>
Retries attempts, default is 3 attempts
management
Virtual Routing and Forwarding name
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