Show Crypto Key Hostkey - Allied Telesis x510-28GTX Command Reference Manual

Stackable gigabit edge switches x510 series
Table of Contents

Advertisement

S
S
(SSH) C
ECURE
HELL
OMMANDS

SHOW CRYPTO KEY HOSTKEY

show crypto key hostkey
Overview
This command displays the public keys generated on the device for the SSH server.
When you enable the SSH server, the server automatically generates an SSHv2 host
key pair (public and private keys), using RSA with 1024-bit key generation. If you
need a key with different parameters than this, you can use the
generate hostkey
server.
The private key remains on the device secretly. The public key is copied to SSH
clients to identify the server. This command displays the public key.
show crypto key hostkey [dsa|ecdsa|rsa|rsa1]
Syntax
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#
To display the RSA public key of the SSH server, use the command:
awplus#
Output
Figure 62-1: Example output from the show crypto key hostkey command
C613-50170-01 Rev B
command to generate that key before you enable the SSH
Parameter
Description
dsa
Displays the DSA algorithm public key. Both SSH version 1 and 2
connections can use the DSA hostkey
ecdsa
Displays the ECDSA algorithm public key. Both SSH version 1 and 2
connections can use the ECDSA hostkey.
rsa
Displays the RSA algorithm public key for SSH version 2 connections.
rsa1
Displays the RSA algorithm public key for SSH version 1 connections.
show crypto key hostkey
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
Command Reference for x510 Series
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
crypto key
2707

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents