beautypg.com

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

Page 1402

background image

Secure Shell (SSH) Commands

Software Reference for x310 Series Switches

54.20

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

show crypto key userkey

This command displays the public keys created on this device for the specified SSH user.

Syntax

show crypto key userkey <username> [dsa|rsa|rsa1]

Mode

User Exec, Privileged Exec and Global Configuration

Examples

To show the public key generated for the user, use the command:

To store the RSA public key generated for the user manager to the file “user.pub”, use the
command:

Output

Figure 54-4: Example output from the show crypto key userkey command

Related Commands

crypto key generate userkey

Parameter

Description

<username>

User name of the local SSH user whose keys you wish to display. The
username must begin with a letter. Valid characters are all numbers,
letters, and the underscore, hyphen and full stop symbols.

dsa

Displays the DSA public key.

rsa

Displays the RSA public key used for SSH version 2 connections.

rsa1

Displays the RSA key used for SSH version 1 connections.

awplus#

show crypto key userkey manager

awplus#

show crypto key userkey manager rsa > manager-rsa.pub

Type Bits Fingerprint
-------------------------------------------------------------
rsa 2048 e8:d6:1b:c0:f4:b6:e6:7d:02:2e:a9:d4:a1:ca:3b:11
rsa1 1024 12:25:60:95:64:08:8e:a1:8c:3c:45:1b:44:b9:33:9b

Table 54-4: Parameters in the output of the show crypto key userkey command

Parameter

Description

Type

The algorithm used to generate the key.

Bits

Length in bits of the key.

Fingerprint

Checksum value for the key.