Configuring the access controller as an ssh server, Ssh server configuration task list, Generating ecdsa or rsa key pairs – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 305: Configuration guidelines, Configuration procedure

291
Configuring the access controller as an SSH server
SSH server configuration task list
Task Remarks
Generating ECDSA or RSA key pairs
Required
Enabling the SSH server function
Required
Configuring the user interfaces for SSH clients
Required
Configuring a client public key
Required for publickey authentication users and
optional for password authentication users
Optional
Setting the SSH management parameters
Optional
Generating ECDSA or RSA key pairs
In the key and algorithm negotiation stage, the ECDSA or RSA key pairs are required to generate the
session key and session ID and for the client to authenticate the server.
Configuration guidelines
•
The public-key local create rsa command generates a server RSA key pair and a host RSA key pair.
Each of the key pairs consists of a public key and a private key. The public key in the server key pair
of the SSH server is used in SSH1 to encrypt the session key for secure transmission of the key. As
SSH2.0 uses the DH algorithm to generate the session key on the SSH server and client respectively,
no session key transmission is required in SSH2.0 and the server key pair is not used.
•
The length of the modulus of RSA server keys and host keys must be in the range 512 to 2048 bits.
Some SSH2.0 clients require that the length of the key modulus be at least 768 bits on the SSH
server side.
•
The public-key local create ecdsa command generates only the host key pair. SSH1 does not
support the ECDSA algorithm.
•
The length of the modulus of ECDSA host keys must be in the range 512 to 2048 bits. Some SSH2.0
clients require that the length of the key modulus be at least 768 bits on the SSH server side.
•
For more information about the public-key local create command, see Security Command
Reference.
Configuration procedure
To generate ECDSA or RSA key pairs on the SSH server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Generate ECDSA or RSA key
pairs.
public-key local create { ecdsa |
rsa }
By default, neither ECDSA nor RSA
key pairs exist.
- H3C WX5500E Series Access Controllers H3C WX3500E Series Access Controllers H3C WX2500E Series Access Controllers H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C LSWM1WCM10 Access Controller Module H3C LSUM3WCMD0 Access Controller Module H3C LSUM1WCME0 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C WA3600 Series Access Points H3C WA2600 Series WLAN Access Points H3C S10500 Series Switches H3C S5800 Series Switches H3C S5820X Series Switches H3C S12500 Series Switches H3C S9500E Series Switches H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C SR8800 H3C SR6600-X H3C SR6600 H3C SecPath F5020 H3C SecPath F5040 H3C VMSG VFW1000