Creating user SSH keys for git access (optional)

This section describes how to set up the git connectivity and parameters for interacting with the Blue Planet Orchestration service template area. Perform these steps on the Blue Planet host server for any user that needs to make modifications to the service templates.

  1. Open a VNC session to the Blue Planet server.

  2. Open a terminal emulation session on this login.

  3. Generate an SSH key if a suitable one does not already exist.

    ssh-keygen (or import existing keys)

    Accept all the defaults in response. Output similar to the following displays.

     $ ssh-keygen
     Generating public/private rsa key pair.
     Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa):
     Enter same passphrase again:
     Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
     Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
  4. To update the general git configuration parameters to identify the user during the git process, enter:

    git config --global user.name "Your Name"
    git config --global user.email [email protected]
  5. Register public SSH key with the Orchestration server.

    1. Display the contents of the public SSH key generated by ssh-keygen.

      For example, in Linux: cat <user-home-dir>/.ssh/id_rsa.pub

    2. To view the list of all user accounts, from the Blue Planet dashboard, select Orchestration > Onboarding > SSH keys.

    3. Click Create.

    4. Add the API key you created for the user.

    5. Click Create.

results matching ""

    No results matching ""