User`s manual

User’s Manual 63
6.4.2 Generating the Host Key Pair
A host public/private key pair is used to provide secure communications between an SSH client and the
switch. After generating this key pair, you must provide the host public key to SSH clients and import the
client’s public key to the switch as described in the proceeding section (Usage).
Field Attributes
Public-Key of Host-Key – The public key for the host.
RSA (Version 1): The first field indicates the size of the host key (e.g., 1024), the second field is the
encoded public exponent (e.g., 65537), and the last string is the encoded modulus.
DSA (Version 2): The first field indicates that the encryption method used by SSH is based on the
Digital Signature Standard (DSS). The last string is the encoded modulus.
Host-Key Type – The key type used to generate the host key pair (For example, public and private
keys). (Range: RSA (Version 1), DSA (Version 2), Both: Default: RSA)
The SSH server uses RSA or DSA for key exchange when the client first establishes a connection with the
switch, and then negotiates with the client to select either DES (56-bit) or 3DES (168-bit) for data encryption.
Save Host-Key from Memory to Flash – Saves the host key from RAM (For example, volatile memory to
flash memory. Otherwise, the host key pair is stored to RAM by default. Before generating the host-key pair,
you must select this item.
Generate – This button is used to generate the host key pair. Note that you must first generate the host key
pair before you can enable the SSH server on the SSH Server Settings page.
Configuring Switch Using the Web or CLI
Web
Click Security – SSH Host-Key Settings. Select the host-key type from the drop-down box, select the
option to save the host key from memory to flash (if required) before generating the key, and then click
Generate.