D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 218
128 | 512 | 1024 | Length of the key pair in bits.
2048 Note: The minimum key length for SSH is 1024. The length 128 applies only
to domain and is the only valid option for it.
Defaults: None.
Access: Enabled.
Usage: You can overwrite a key by generating another key of the same type.
SSH requires an SSH authentication key, but you can allow MSS to generate it automatically. The
first time an SSH client attempts to access the SSH server on a switch, the switch automatically
generates a 1024-byte SSH key. If you want to use a 2048-byte key instead, use the crypto
generate key ssh 2048 command to generate one.
Examples: To generate an administrative key, type the following command:
DWS-1008# crypto generate key admin 1024
key pair generated.
See Also:
• show crypto key ssh
crypto generate request
Generates a Certificate Signing Request (CSR). This command outputs a PEM-formatted
PKCS#10 text string that you can cut and paste to another location for delivery to a certificate
authority.
This command generates either an administrative CSR for use with Web View or an EAP CSR
for use with 802.1X clients.
Syntax: crypto generate request {admin | eap | web}
admin Generates a request for an administrative certificate to authenticate the
switch to Web View.
eap Generates a request for an EAP certificate to authenticate the switch to
802.1X supplicants (clients).
web Generates a request for a WebAAA certificate to authenticate the switch to
WebAAA clients.
After type the command, you are prompted for the following variables:
Country Name (Optional) Specify the abbreviation for the country in which the switch
string is operating, in 2 alphanumeric characters with no spaces.