3com 5500-ei pwr Guía De Referencia

Descargar
Página de 1314
 
1-14 
rsa: Specifies the RSA key pair. 
Description 
Use the public-key local destroy command to destroy the key pairs generated for the current switch.  
If the key pair does not exist, the system displays a message, telling you no such key pair exists. 
Related commands: public-key local create
Examples 
# Destroy the RSA key pairs of the current switch.  
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname]public-key local destroy dsa 
% Confirm to destroy these keys? [Y/N]:y 
...... 
# Destroy the DSA key pair of the current switch.  
<Sysname>system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] public-key local destroy dsa 
% Confirm to destroy these keys? [Y/N]:y 
...... 
public-key local export rsa 
Syntax 
public-key local export rsa { openssh | ssh1 | ssh2 } [ filename 
View 
System view 
Parameters 
rsa: Specifies the host public key of the current switch’s RSA key pair.  
openssh: Specifies the format of the exported public key as OpenSSH.  
ssh1: Specifies the format of the exported public key as SSH1. 
ssh2: Specifies the format of the exported public key as SSH2.  
filename: Name of the file for saving the host public key, a string of 1 to 142 characters. For file naming 
rules, refer to File System Management Command
Description 
Use the public-key local export rsa command to export the current switch’s RSA key pair to a 
specified file. 
If you specify a filename, the command exports the host public key to the specified file and saves the file; 
otherwise, the command displays the host public key on the screen.