Download Print this page

Crypto Key Generate Userkey - Centrecom FS980M/9 Command Reference Manual

Fs980m series fast ethernet managed access switches reference for alliedware plus version 5.4.6-2.x

Advertisement

S
S
(SSH) C
ECURE
HELL
OMMANDS

CRYPTO KEY GENERATE USERKEY

crypto key generate userkey
Overview
This command generates public and private keys for an SSH user using either an
RSA or DSA cryptography algorithm. To use public key authentication, copy the
public key of the user onto the remote SSH server.
This command is not saved in the device configuration. However, the device saves
the keys generated by this command in the non-volatile memory.
crypto key generate userkey <username> {dsa|rsa|rsa1}
Syntax
[<768-32768>]
Mode
Global Configuration
Examples
To generate a 2048-bits RSA user key for SSH version 2 connections for the user
bob, use the commands:
awplus#
awplus(config)#
To generate a DSA user key for the user lapo, use the commands:
awplus#
awplus(config)#
Related
crypto key pubkey-chain userkey
Commands
show crypto key userkey
613-50137-01 Rev A
Parameters
Description
<username>
Name of the user that the user key is generated for. The username
must begin with a letter. Valid characters are all numbers, letters, and
the underscore, hyphen and full stop symbols.
dsa
Creates a DSA userkey. Both SSH version 1 and 2 connections can use
a key created with this command.
rsa
Creates an RSA userkey for SSH version 2 connections.
rsa1
Creates an RSA userkey for SSH version 1 connections.
<768-32768> The length in bits of the generated key. The DSA algorithm supports
only 1024 bits.
Default: 1024.
configure terminal
crypto key generate userkey bob rsa 2048
configure terminal
crypto key generate userkey lapo dsa
Command Reference for FS980M Series
AlliedWare Plus™ Operating System - Version 5.4.6-2.x
1602

Advertisement

loading