3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-1 
1  
SSH Commands 
 
 
In this document, you can distinguish the local and peer as follows: if the local is an SSH server, the 
peer is an SSH client; if the local is an SSH client, the peer is an SSH server. 
 
SSH Commands 
display public-key local 
Syntax 
display public-key local { dsa | rsa } public 
View 
Any view 
Parameters 
dsa: Displays the public key of the current switch’s DSA key pair. 
rsa: Displays the public keys of the current switch’s RSA key pairs. 
Description 
Use the display public-key local command to display the public key information of the current switch’s 
key pairs.  
The displayed local public key can be configured as the public key on the remote peer for  
authentication. 
Related commands: public-key local create
Examples 
# Display the public key part of the current switch’s RSA key pair(s).  
<Sysname> display public-key local rsa public 
 
===================================================== 
Time of Key pair created: 23:48:18  2000/04/03 
Key name: Sysname_Host 
Key type: RSA encryption Key 
===================================================== 
Key code: