Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Reference - https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html

Tip

FlexDeploy version must be at least 4.5.2.123(Tomcat), 4.5.2.149(WebLogic). Git plugin must be 4.5.1.7 or higher.

Info

Following steps must be done for FlexDeploy Server and Endpoint where Git commands will be executed.

  1. Locate or generate default SSH keys. If no key found generate using "ssh-keygen" command, if you accept defaults id_rsa and id_rsa.pub files will be generated in ~/.ssh folder.
  2. Add SSH public key to Bitbucket account.
    Image RemovedAdd key to ssh-agent.
  3. eval `ssh-agent`

    1. Agent pid 23595

  4. ssh-add ~/.ssh/id_rsa

    1. Identity added: /home/oracle/.ssh/id_rsa (/home/oracle/.ssh/id_rsa)

  5. ssh-add -l

    2048 50:b7:6b:95:9b:ce:1c:64:b6:d3:77:c7:46:22:e9:9e /home/oracle/.ssh/id_rsa (RSA) You must use id_rsa.pub for this purpose. Note that Access keys only provide read-only access, so if you need read/write access, then load public keys in SSH Keys section.
    Image Added
  6. Test SSH connection.
  7. Configure SCM Integration instance.
    1. URL Example - git@bitbucket.org:flexagonteam/libraries.git