54
Admin Mode
monitor
no monitor
Display SSH debug information on the
SSH client side; the “
no monitor
”
command stops displaying SSH debug
information on the SSH client side.
2.2.4.3 Command for SSH
2.2.4.3.1 ssh-server authentication-retries
Command:ssh-server authentication-retries < authentication-retries >
no ssh-server authentication-retries
Function:
Configure the number of times for retrying SSH authentication; the “
no
ssh-server authentication-retries
” command restores the default number of times for
retrying SSH authentication.
Parameter: < authentication-retries >
is the number of times for retrying authentication;
valid range is 1 to 10.
Command mode:
Global Mode
Default:
The number of times for retrying SSH authentication is 3 by default.
Example:
Set the number of times for retrying SSH authentication to 5.
Switch(Config)#ssh-server authentication-retries 5
2.2.4.3.2 ssh-server enable
Command: ssh-server enable
no ssh-server enable
Function:
Enable SSH function on the switch; the “
no ssh-server enable
” command
disables SSH function.
Command mode:
Global Mode
Default:
SSH function is disabled by default.
Usage Guide:
In order that the SSH client can log on the switch, the users need to
configure the SSH user and enable SSH function on the switch.
Example:
Enable SSH function on the switch.
Switch(Config)#ssh-server enable
2.2.4.3.3 ssh-server host-key create rsa
Command: ssh-server host-key create rsa [modulus < modulus >]
Function:
Generate new RSA host key
Parameter: modulus
is the modulus which is used to compute the host key; valid range
is 768 to 2048. The default value is 1024.
Command mode:
global Mode
Default:
The system uses the key generated when the ssh-server is started at the first