Key Pairs

Key pairs refer to security credentials used for ensuring the identity of a user connecting to a VM instance.

Create New Key Pair

  1. Navigate to the Main menu > Compute > Key Pairs view.

  2. Click Create in the top toolbar.

  3. In the Generate Key Pair > Details tab, select Generate a key pair and download the private key.


  4. Enter a unique name consisting of letters, numbers, spaces, underscores, periods and dashes. It must begin and end with a letter, number or an underscore.

  5. Click Next.

  6. In the Generate Key Pair > Result tab, the following is displayed:

    • Name of key pair.

    • Fingerprint of public key.


  7. Click Save to download the private key to your browser’s default download location. The private key file is named: <name>.pem where <name> is that specified for the key pair in the Details tab.

  8. Click Finish.

Upload Externally Generated Key Pair

  1. Use a tool of your choice to generate a key pair (public and private key). Example: $ ssh-keygen. Change the file permissions on the private key to 400 or 600 to secure the key. Example: $ chmod 400 id_rsa

  2. Navigate to the Main menu > Compute > Key Pairs view.

  3. Click Create in the top toolbar.

  4. In the Generate Key Pair > Details tab, select Upload a public key for a key pair you have generated using another tool.


  5. Drag and drop the public key file into the window, or click Browse and navigate to it.

  6. Click Next. The system displays the Result tab.

  7. Click Finish.

Get Windows instance password


  • To be able to get a Windows instance password, a key pair must be associated with the the Windows instance at creation of the instance. See Creating VM Instances.

  • This flow returns the admin password of the Windows instance, which is a long and complex string. The zCompute UI Instance Connect option does not permit pasting the password at the login prompt. It requires manual entry of the password, which is not recommended, due to the complexity and length of the string. Instead, it is highly recommended to connect to the VM instance via a Remote Desktop client using an Elastic IP, which will allow pasting the password.

  1. Go to Compute > Instances.

  2. Locate the Windows instance.


  3. Right-click on the Windows instance row and click Get Password on the context menu, or go to … More > Get Password. The Get Windows Password dialog opens.

  4. Locate the private key file (<name>.pem) of the key pair associated with the Windows instance. Either upload the private key file, or copy and paste its contents in the place provided.

    Click Next. The Retrieve Password tab displays the Windows instance’s admin password.

  5. Copy the admin password string.

  6. Either:

    • In your RDP client admin user session configuration, paste and save the copied password.

    • In your RDP session, on signing on as the admin user in the Windows VM instance, paste the copied admin password at the password prompt.