Key pairs are a secure and convenient method to authenticate logons and are supported only on Linux operating systems. This topic describes how to create, change, and import a key pair.

Create a key pair

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. Find the simple application server for which you want to create a key pair, and click the card of the server.
  4. In the left-side navigation pane, choose Server Maintenance > Connect.
  5. Click the Key Pair tab and then click Create Key Pair.
  6. In the Change Key Pair dialog box, configure the parameters.
    The following table describes the parameters.
    • Key Pair Name: Enter a name for the key pair. Example: test-ssh-01.
    • Creation Type:
      • Generate Random Key Pair: The key pair is automatically generated. Download the key pair and keep it confidential. A key pair can be downloaded only once.
      • Import Existing Key Pair: You can import a key pair as a logon credential of the simple application server.
      In this example, Generate Random Key Pair is selected. For information about how to import a key pair, see Import a key pair.
  7. In the Download Key Pair message, click OK.
    Notice Key pair information is automatically downloaded as a .pem file to your computer. A key pair can be downloaded only once. Keep it confidential.
    After the key pair is created and downloaded, you must restart the simple application server in the Simple Application Server console for the key pair to take effect.

Change a key pair

To change a created key pair of a simple application server, perform the following operations.

  1. Log on to the Simple Application Server console.
  2. In the left-side navigation pane, click Servers.
  3. Find the simple application server whose key pair you want to change, and click the card of the server.
  4. In the left-side navigation pane, choose Server Maintenance > Connect.
  5. Click the Key Pair tab. In the card of the created key pair, click Change Key Pair.
    The procedure to change a key pair is similar to that to create a key pair. For more information, see Create a key pair.
    After the key pair is changed, you must restart the simple application server in the Simple Application Server console for the new key pair to take effect.

Import a key pair

You can import a key pair and use it to manage multiple simple application servers.

When you create or change a key pair, you can set Creation Type to Import Existing Key Pair. Then, you need only to enter the public key information of your local key pair and click OK. After the key pair is imported, you can use it to log on to the simple application server. Import a key pair

After the key pair is imported, you must restart the simple application server in the Simple Application Server console for the key pair to take effect.