
Secure Shell Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
45.5
crypto key generate hostkey
This command generates public and private keys for the SSH server using either an RSA or
DSA cryptography algorithm. You must define a host key before enabling the SSH server. If a
host key exists with the same cryptography algorithm, this command replaces the old host key
with the new key.
This command is not saved in the device configuration. However, the device saves the keys
generated by this command in the non-volatile memory.
Syntax
crypto key generate hostkey
[
dsa
|
rsa
|
rsa1
] [<768-32768>]
Mode
Configure mode
Examples
To generate an RSA host key for SSH version 2 connections that is 2048 bits in length, use the
command:
awplus(config)#crypto key generate hostkey rsa 2048
To generate DSA host key, use the command:
awplus(config)#
crypto key generate dsa
Related Commands
crypto key destroy hostkey
show crypto key hostkey
Parameters
Description
dsa
or
rsa
or
rsa1
The algorithm type of the public and private key pair.
Default: no default
dsa
Creates a DSA hostkey. Both SSH version 1 and 2
connections can use the DSA hostkey.
rsa
Creates an RSA hostkey for SSH version 2 connections.
rsa1
Creates an RSA hostkey for SSH version 1 connections.
<768-32768>
The length in bits of the generated key. The DSA algorithm supports only
1024 bits.
Default: 1024
Содержание AlliedWare Plus 5.2.1
Страница 8: ...65 Stacking Commands Introduction 65 2 Appendix l Command List ...
Страница 10: ......
Страница 218: ......
Страница 376: ......
Страница 726: ......
Страница 806: ......
Страница 1006: ......
Страница 1056: ......
Страница 1235: ...Stacking Reference This part includes the following chapters Chapter 64 Stacking Introduction Chapter 65 Stacking Commands ...
Страница 1236: ......