Configuring A Maximum Number Of Ssh Login Attempts - Cisco Nexus 9000 Series Configuration Manual

Nx-os security configuration guide, release 9.x
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring a Maximum Number of SSH Login Attempts

Command or Action
Step 3
exit
Example:
switch(config)# exit
switch#
Step 4
(Optional) show user-account
Example:
switch# show user-account
Step 5
(Optional) copy running-config startup-config
Example:
switch# copy running-config startup-config
Configuring a Maximum Number of SSH Login Attempts
You can configure the maximum number of SSH login attempts. If the user exceeds the maximum number
of permitted attempts, the session disconnects.
Note
The total number of login attempts includes attempts through public-key authentication, certificate-based
authentication, and password-based authentication. If public-key authentication is enabled, it takes priority.
If only certificate-based and password-based authentication are enabled, certificate-based authentication takes
priority. If you exceed the configured number of login attempts through all of these methods, a message
appears indicating that too many authentication failures have occurred.
SUMMARY STEPS
1. configure terminal
2. ssh login-attempts number
3. (Optional) show running-config security all
4. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
134
Purpose
Exits global configuration mode.
Displays the user account configuration.
Copies the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Configuring SSH and Telnet

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents