CLI Guide
show crypto
Display the public part of the SSH host-keys.
Syntax
show crypto key mypubkey {rsa | rsa1}
Parameters
Key Enter the keyword key to display the host public key.
mypubkey Enter the keyword mypubkey to display the host public key.
rsa Enter the keyword rsa to display the host SSHv2 RSA public key.
rsa1 Enter the keyword rsa1 to display the host SSHv1 RSA public key.
Defaults none
Command Modes EXEC
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
8.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information This command is useful if the remote SSH client implements Strict Host Key Checking. You can copy the host key to your list of known hosts.
Example
Dell#show crypto key mypubkey rsa1
1024 65537 15047757832969676203444203678896349387088507047999199481529207062670596651487238987338851388872
6045587485998010070732182414929030692027544033783833684808165051718757388498171624789464677065606836272077
109398066281380715348265219018664838324451688712041531630245739774449604335364302251481307373438756957374121
Dell#show crypto key mypubkey rsa
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9IYgcUcc8wQm+5KUQgW/zAs8V5STalGq4/+S+6H9axpQnA+A0xweeo5iR5hvPP6Vc+HS+
uWoQH+VOJ8H5Jxsm347XnYv/gpSqhgjZ/C5UwFiucVkVfYu8RDcJVIuQhLvPEebIF5Q+sD8K89MXU90MAS/UdoiJZSOIlbaCuSTW1Q==
Dell#
Related
Commands
crypto key generate — generates the SSH keys.
show ip ssh
Display information about established SSH sessions.
Syntax
show ip ssh
Command Modes
• EXEC
• EXEC Privilege
Supported Modes All Modes
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
1358
Security