
1-85
Example:
Set the time for retrying SSH authentication to 5.
Switch(config)#ssh-server authentication-retries 5
1.2.20 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
1.2.21 ssh-server host-key create rsa
Command:
ssh-server host-key create rsa [modulus < modulus >]
Function:
Generate new RSA host key.