CLI Guide

show crypto
Displays 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 150477578329696762034442
036788963493870885070479991994
81529207062670596651487238987338851
388872604558748599801007073218
241492903069202754403378383368480816
50517187573884981716247894646
7706560683627207710939806628138071534
8265219018664838324451688712
0415316302457397744496043353643022514
81307373438756957374121
Dell#show crypto key mypubkey rsa
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQ
C9IYgcUcc8wQm+5KUQgW/zAs8V5S
TalGq4/+S+6H9axpQnA+A0xweeo5iR5hvPP6Vc+
HS+uWoQH+VOJ8H5Jxsm347XnYv/
gpSqhgjZ/C5UwFiucVkVfYu8RDcJVIuQhLvPEeb
IF5Q+sD8K89MXU90MAS/UdoiJZSO
IlbaCuSTW1Q==
Dell#
Related
Commands
crypto key generate — generates the SSH keys.
Security
1363