Rsa Local-Key-Pair Create - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – System Management
Quidway S8500 Series Routing Switches
the configured key will be discarded; otherwise, the key is valid and will be saved to the
user public key list.
Related command: rsa peer-public-key, public-key-code begin.
Example
# Exit the public key edit view and save the configured public key.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] rsa peer-public-key quidway003
[Quidway-rsa-public-key] public-key-code begin
RSA key code view: return to last view with "public-key-code end".
[Quidway-rsa-key-code] public-key-code end
[Quidway-rsa-public-key]

8.1.10 rsa local-key-pair create

Syntax
rsa local-key-pair create
View
System view
Parameter
None
Description
Use the rsa local-key-pair create command to generate the RSA key pair (including
the host key and server key) of the server. The naming conventions for the keys are
switch name + host and switch name + server respectively, for example, Quidway_host,
Quidway_server.
When configuring by this command, if the RSA key pair already exists, you will get a
warning asking if you want to replace the existing one. Note that the host key and the
server key must have a difference of 128 bits at least, and that the minimum and
maximum lengths for the host key and the server key are 512 bits and 2048 bits .
Generating the RSA key pair of the server is the first step to perform after SSH login. It
needs to be performed only once; you need not re-perform it after rebooting the switch.
Chapter 8 SSH Terminal Service Configuration
Huawei Technologies Proprietary
8-9
Commands

Advertisement

Table of Contents
loading

Table of Contents