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

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.


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

  1. Locate or generate 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.
  3. Add key to ssh-agent.
    1. eval `ssh-agent`

      1. Agent pid 23595

    2. ssh-add ~/.ssh/id_rsa

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

    3. ssh-add -l

      1. 2048 50:b7:6b:95:9b:ce:1c:64:b6:d3:77:c7:46:22:e9:9e /home/oracle/.ssh/id_rsa (RSA)

  4. Test SSH connection.
  5. Configure SCM Integration instance.
    1. URL Example - git@bitbucket.org:flexagonteam/libraries.git