Technical data
SSH Terminal Services 375
Defining the SSH Authentication Timeout Value
Perform the following configurations in system view.
By default, the timeout value for SSH authentication is 60 seconds.
Defining the SSH Authentication Retry Value
Setting the SSH authentication retry value can effectively prevent malicious
registration attempts.
Perform the following configurations in system view.
By default, the retry value is 3.
Entering the Public Key Edit View and Editing a Public Key
You can enter the public key edit view and edit the client public key.
This operation is only available for the SSH users using RSA authentication. At the
switch, you configure the RSA public key of the client, while at the client, you
specify the RSA private key which corresponds to the RSA public key.
This operation will fail if you configure password authentication for the SSH user.
Perform the following configurations in system view.
When entering the public key edit view with the rsa peer-public-key
command, you can begin editing the public key with the
public-key-code begin
command. You can key in blank space between characters, since the system can
remove the blank space automatically. But the public key should be composed of
hexadecimal characters. Terminate public key editing and save the result with the
public-key-code end command. A validity check precedes saving: the public key
editing fails if the key contains invalid characters.
Table 84 Defining the SSH Authentication Timeout Value
Operation Command
Define the SSH authentication timeout value ssh server timeout seconds
Restore the default timeout value undo ssh server timeout
Table 85 Defining the SSH Authentication Retry Value
Operation Command
Define SSH authentication retry value ssh server authentication-retries times
Restore the default retry value undo ssh server authentication-retries
Table 86 Configuring Public Keys
Operation Command
Enter public key view rsa peer-public-key key-name
Delete a designated public key undo rsa peer-public-key key-name