Reference Guide

Security | 851
show crypto
s z
Display the public part of the SSH host-keys.
Syntax
show crypto key mypubkey {rsa | rsa1}
Parameters
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Example
Figure 39-10. show crypto Command Examples
FTOS#show crypto key mypubkey rsa
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAtzkZME/
e8V8smnXR22EJGQhCMkEOkuisa+OILVoMYU1ZKGfj0W5BPCSvF/
x5ifqYFFwUzJNOcsJK7vjSsnmMhChF2YSvXlvTJ6h971FJAQlOsgd0ycpocsF+DNLKfJnx7SAjhakF
QMwGg/g78ZkDT3Ydr8KKjfSI4Bg/WS8B740=
FTOS#show crypto key mypubkey rsa1
1024 35
131060015480873398953257515397249657850072206444294963674080935683088961020317
226679889567549667652650063796221897799276092785236388392230550818191660099281
326164086643457746022192295189039929663345791173742247431553750501676929660273
790601494434050000015179864425629613385774919236081771341059533760063913083
FTOS#
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.
Related
Commands
show ip ssh
s z
Display information about established SSH sessions.
Syntax
show ip ssh
Command Modes
EXEC
EXEC Privilege
S6000
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.
Version 9.0.2.0 Introduced on the S6000.
Version 8.3.11.1 Introduced on Z9000
Version
8.3.7.0
Introduced on the S-Series.
crypto key generate Generate SSH keys.
S6000