426 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
View
System view
Parameter
times: Specifies authentication retry times, in the range of 1~5.
Description
Use the ssh server authentication-retries command to define SSH
authentication retry times value, which takes effect at next logon.
Use the undo ssh server authentication-retries command to restore the
default retry value.
By default, it is 3.
Related command: display ssh server.
Example
To define the authentication retry times value as 4, enter the following:
[SW4500]ssh server authentication-retries 4
ssh server timeout Syntax
ssh server timeout seconds
undo ssh server timeout
View
System view
Parameter
seconds: Specifies the login timeout (in seconds) in the range 1 to 120.
Description
Use the ssh server timeout command to set the authentication timeout of SSH
connections.
Use the undo ssh server timeout command to restore the default value.
By default, the timeout value is 60 seconds.
Related command: display ssh server. status
Example
To define the registration timeout value as 80 seconds, enter the following:
[SW4500]ssh server timeout 80
ssh user assign rsa-key Syntax
ssh user username assign rsa-key keyname
undo ssh user username assign rsa-key