No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer G5500 Server iBMC (V300 or Later) User Guide 04

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the SSH User Private Key

Configuring the SSH User Private Key

Operation Scenario

Configure the SSH private key.

After the SSH private key has been loaded on the user client and the iBMC, the user can log in to the iBMC CLI over SSH without entering a password. This access mode is recommended due to higher security and easier operation.

Prerequisites

Conditions

  • The client (local PC) can communicate with the server iBMC.
  • The SSH interface has been enabled on the iBMC.

Data

  • SSH public key type: RSA or DSA
  • IP address of the iBMC management network port
  • SSH service port number

Software

  • A free tool, such as putty.exe, to log in to the iBMC
  • A free tool, such as puttygen.exe, to generate private keys

Procedure

    Generate an SSH private key.

    1. On the client (such as a PC), run puttygen.exe.

      The PuTTY Key Generator window is displayed, as shown in Figure 6-23.

      Figure 6-23  Private key generation

    2. In the Parameters area, select the private key type, for example SSH-2 DSA.
    3. Set the private key size. For example, enter 1024 in Number of bits in a generated key.
    4. Click Generate.
    5. Click Save public key and Save private key to save the generated public and private keys to the client.

    Import the public key to the iBMC.

    1. Log in to the iBMC WebUI. For details, see Logging In to the iBMC WebUI.
    2. On the iBMC WebUI, choose Configuration > Local Users.
    3. In the SSH Public Key Management area, click Add.

      The window for importing the SSH public key is displayed, as shown in Figure 6-24.

      Figure 6-24  Importing an SSH public key

    4. Enter the name of the current user.
    5. Select the SSH user for whom the SSH public key is to be imported.
    6. In Public Key Import Mode, select File.
    7. Click Browse and select the public key generated in Generate an SSH private key.
    8. Click Save.

    Configure the SSH client.

    1. On the PC, run putty.exe.
    2. Import the private key generated in Generate an SSH private key.

      Figure 6-25 shows the interface for importing a private key.

      Figure 6-25  Importing a private key

    3. Set the user login information.

      Enter the iBMC address and SSH port number, as shown in Figure 6-26.

      Figure 6-26  Setting login information

    Log in to the iBMC CLI.

    1. Click Open.
    2. Enter the SSH user name.

      The iBMC CLI is displayed.

Translation
Download
Updated: 2018-10-31

Document ID: EDOC1100031438

Views: 93250

Downloads: 49

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next