Cisco Cisco ASR 5000

Page of 9109
  Exec Mode show Commands (Q-S) 
show ssh key  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
4953 
show ssh key 
Displays the secure shell (SSH) public key information. 
Product
 
All 
Privilege
 
Security Administrator, Administrator, Operator, Inspector 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
show ssh key [ type { v1-rsa | v2-rsa | v2-dsa } ] [ | { grep grep_options | more } ] 
type
 { 
v1-rsa
 | 
v2-rsa
 | 
v2-dsa
 } ] 
Specifies the type of SSH key information to display. If type is not specified, information for all types is 
displayed. 
v1-rsa
: SSH v1 RSA host key only 
v2-rsa
: SSH v2 DSA host key only 
v2-dsa
: SSH v2 RSA host key only 
| { grep grep_options | more }
 
Pipes (sends) the output of the command to the command specified. You must specify a command to which 
the output will be sent. 
For details on the usage of the 
grep
 and 
more
 commands, refer to the Regulating a Command’s Output 
section of the Command Line Interface Overview chapter. 
Usage 
Show the secure shell key information for all types to verify installed keys. 
Example
 
The following command shows information for all SSH V1 and SSH V2 keys: 
show ssh key 
The following command shows information for only SSH V2 RSA host keys: 
show ssh key type v2-rsa