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 Pro E9000 Server iBMC (Earlier Than V250) User Guide 31

This document describes the underlying management software Intelligent Baseboard Management Controller (iBMC) of the servers.
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).
Logging in to the iBMC CLI by Configuring the SSH User Private Key

Logging in to the iBMC CLI by Configuring the SSH User Private Key

Operation Scenario

Two authentication modes are available when users log in to iBMC over SSH.
  • Password authentication: Users need to enter passwords upon every login. This method is inconvenient and may leak passwords.
  • Private key authentication: After the configuration, users do not need to enter passwords upon login. To log in to iBMC over SSH, users must use a client has the correct private key, so security is improved.

This topic describes how to manage SSH private keys and log in to iBMC through SSH private key authentication.

Preparations

Prerequisites

  • A local client can communicate with the server iBMC.
  • The SSH interface has been enabled for the user on the iBMC.

Data

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

Software

  • Login tool, such as putty.exe.
  • Private key generation tool, such as puttygen.exe.

The preceding tools are free. Download them from the Internet by yourself.

Procedure

    Generate the SSH private key.

    1. On the client (such as a PC), open the private key generation tool, such as puttygen.exe, as shown in Figure 4-35.

      Figure 4-35 Private key generation interface

    2. In the Parameters area, select the private key type, such as SSH-2 DSA.
    3. Set the private key size, such as 1024.
    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 iBMC.

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

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

      Figure 4-36 Importing an SSH public key

    4. Enter the name of the current user.
    5. Select the SSH user for whom you want to import an SSH public key.
    6. Select File as the import method.

      You can select an import based on actual needs.

    7. Click Browse and select the public key generated in Generate the SSH private key.
    8. Click Save.

      A success message is displayed if the import is successful.

    Configure the SSH tool.

    1. On the client, open the login tool, such as putty.exe.
    2. Import the private key generated in Generate the SSH private key.

      Figure 4-37 shows the interface for importing a private key.

      Figure 4-37 Importing a private key

    3. Set the login information on the SSH tool.

      Login information includes the iBMC address and SSH service port number, as shown in Figure 4-38.

      Figure 4-38 Setting login information

    Log in to the iBMC CLI.

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

      The iBMC CLI is displayed.

Translation
Download
Updated: 2019-08-01

Document ID: EDOC1000058833

Views: 218399

Downloads: 1936

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