3Com 4500 50-PORT Switch User Manual


 
SSH Terminal Service Configuration Commands 425
rsa local-key-pair
destroy
Syntax
rsa local-key-pair destroy
View
System view
Parameter
None
Description
Use the rsa local-key-pair destroy command to destroy all the RSA key pairs
of the server, including the host keys and server keys.
Related command: rsa local-key-pair create.
Example
To destroy all the RSA key pairs of the server, enter the following:
[SW4500]rsa local-key-pair destroy
% The name for the keys which will be destroyed is SW4500_Host .
% Confirm to destroy these keys? [Y/N]:y
rsa peer-public-key Syntax
rsa peer-public-key key-name
View
System view
Parameter
key-name: The name of the public key which is a string consisting of 1 to 64
characters.
Description
Use the rsa peer-public-key command to enter the public key view.
When using this command together with the public-key-code begin command to
configure the public key at the client, which is generated randomly by the client
program supporting SSH1.5.
Related commands: public-key-code begin, public-key-code end.
Example
To enter the public key view name 3Com002, enter the following:
[SW4500]rsa peer-public-key 3COM002
[SW4500-rsa-public-key]
ssh server
authentication-retries
Syntax
ssh server authentication-retries times
undo ssh server authentication-retries