Add Keys to the Key Agent

You can add keys to the Key Agent by generating keys using the Key Agent, or by importing keys that you have created using Reflection or other applications. Keys you create using the Key Agent are stored by the agent in encrypted form and can only be accessed by using the Key Agent. Keys you create using the Reflection Secure Shell Settings dialog box are stored in your <personal documents folder>\Micro Focus\Reflection\.ssh folder. When you import a key into the Key Agent, the imported key is stored within the agent in encrypted form, and the original key also remains available unless you delete it.

To generate a new key pair using the Key agent

  1. Start and unlock the Key Agent.

  2. Click Generate Key.

  3. Specify a key name, key type, and key length, and then click OK.

To generate a new key pair using Reflection

  1. Open the Reflection Secure Shell Settings dialog box

  2. On the User Keys tab, click Generate Key.

  3. Specify a key name, key type, and key length. (Use the Browse button to specify a non-default name or location for the key.)

  4. Either specify a passphrase, or select No passphrase.

  5. Click Create.

To import a private key into the Key Agent

  1. Start and unlock the Key Agent.

  2. From the File menu, click Import Private Key.

  3. Select the key you want to add. The default location for keys you create using Reflection is:

    %userprofile%\documents\Micro Focus\Reflection\.ssh

    For example:

    C:\users\joe\documents\Micro Focus\Reflection\.ssh

    The Agent opens this folder by default when you click Import Private Key. Each key pair includes two files: one with a *.pub extension; and one with no file extension. The private key is the file with no extension.

  4. If the key is protected by a passphrase, you must enter the phrase correctly before you can import the key.

    After you import the key, it is protected by the Key Agent passphrase. The original key and passphrase are not changed.