Crypto key generate userkey – Allied Telesis AT-S100 User Manual
Page 121
AT-S100 Management Software User’s Guide
Section I: Command Modes
121
CRYPTO KEY GENERATE USERKEY
Syntax
crypto key generate userkey USERNAME rsa <768-32768>
no crypto key generate userkey
Parameters
USERNAME
Specifies the name of the user. This parameter
must begin with a letter. Valid characters are all
numbers, letters, and underscores, hyphens, and
periods.
rsa
Creates an RSA userkey for SSH version 2
connections.
<768-32768>
The length, in bits, of the generated key. The default
is 1,024 bits.
Description
Use the CRYPTO KEY GENERATE USERKEY command to generate
public and private keys for an SSH user using the RSA cryptography
algorithm. To use public key authentication, copy the public key of the user
onto the remote SSH server.
Caution
This command is not saved in the software configuration. However,
the device saves the keys generated by this command in the non-
volatile memory.
Command Mode
Configuration Terminal mode
Examples
To generate a 2048-bit RSA user key for SSH version 2 connections for a
user named “bob,” use the following commands:
switch#configure terminal
switch(config)#crypto key generate userkey bob rsa
2048