C613-50102-01 REV C
Command Reference for x510 Series
2487
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
S
ECURE
S
HELL
(SSH) C
OMMANDS
SHOW
CRYPTO
KEY
HOSTKEY
show crypto key hostkey
Overview
This command displays the SSH host keys generated by RSA and DSA algorithm.
A host key pair (public and private keys) is needed to enable SSH server. The private
key remains on the device secretly. The public key is copied to SSH clients to
identify the server
Syntax
show crypto key hostkey [dsa|rsa|rsa1]
Mode
User Exec, Privileged Exec and Global Configuration
Examples
To show the public keys generated on the device for SSH server, use the command:
awplus#
show crypto key hostkey
To display the RSA public key of the SSH server, use the command:
awplus#
show crypto key hostkey rsa
Output
Figure 60-1:
Example output from the
show crypto key hostkey
command
Related
Commands
Parameter
Description
dsa
Displays the DSA algorithm public key.
rsa
Displays the RSA algorithm public key for SSH version 2 connections.
rsa1
Displays the RSA algorithm public key for SSH version 1 connections.
Type Bits Fingerprint
-----------------------------------------------------------
rsa 2058 4e:7d:1d:00:75:79:c5:cb:c8:58:2e:f9:29:9c:1f:48
dsa 1024 fa:72:3d:78:35:14:cb:9a:1d:ca:1c:83:2c:7d:08:43
rsa1 1024 e2:1c:c8:8b:d8:6e:19:c8:f4:ec:00:a2:71:4e:85:8b
Table 1:
Parameters in output of the
show crypto key hostkey
command
Parameter
Description
Type
Algorithm used to generate the key.
Bits
Length in bits of the key.
Fingerprint
Checksum value for the public key.