beautypg.com

Show crypto key hostkey, Show crypto key hostkey [dsa|rsa|rsa1 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1399

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

54.17

show crypto key hostkey

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:

To display the RSA public key of the SSH server, use the command:

Output

Figure 54-1: Example output from the show crypto key hostkey command

Related Commands

crypto key destroy hostkey
crypto key generate hostkey

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.

awplus#

show crypto key hostkey

awplus#

show crypto key hostkey rsa

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 54-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.