3com 5500-ei pwr Guía De Referencia

Descargar
Página de 1314
 
1-15 
 
SSH1, SSH2, and OpenSSH are three public key formats. You can choose one as required. For 
example, if you want to export the RSA host public key to a file in the SSH1 format, use the 
public-key local export rsa ssh1 filename command. 
The host public key displayed on the screen is in a format that is not transformed and cannot be 
used as the public key data for public key configuration. 
 
Related commands: public-key local creatersa local-key-pair create
  Examples 
# Generate RSA key pairs.  
<Sysname> system-view 
[Sysname] public-key local create rsa 
The range of public key size is (512 ~ 2048). 
NOTES: If the key modulus is greater than 512, 
       It will take a few minutes. 
Input the bits in the modulus[default = 1024]: 
Generating keys... 
...............................................++++++ 
......++++++ 
.................++++++++ 
.....++++++++ 
.......                  
# Display the host public key in the OpenSSH format. 
[Sysname]public-key local export rsa openssh 
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgMSPi+xIkHkAo6E9LwLKWN+eN9EqW/6FIYEIlVKcpIa0 
6IT4eSyq4OldeiZ9WorOiDqX3ROo4FmaTR/QCSK3C9whE1qz/4soVL1eHDdgzQCumKKsJCVaM5OdZ2sdNbEnhLuc
s8ZrfTgEkDB1hmbgzuDpWPokPfkQDD+8dC+hkFVV rsa-key 
# Export the host public key in the format of OpenSSH and save the public key file as pub_ssh_file2.  
[Sysname] public-key local export rsa openssh pub_ssh_file2 
# Export the host public key in the format of SSH1 and save the public key file as pub_ssh_file3.  
[Sysname] public-key local export rsa ssh1 pub_ssh_file3 
public-key local export dsa 
Syntax 
public-key local export dsa { openssh | ssh2 } [ filename 
View 
System view 
Parameters 
dsa: Specifies the public key of the current switch’s DSA key pair.