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. |
- 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.
- Add SSH public key to Bitbucket account.
Add key to ssh-agent. eval `ssh-agent`
Agent pid 23595
ssh-add ~/.ssh/id_rsa
Identity added: /home/oracle/.ssh/id_rsa (/home/oracle/.ssh/id_rsa)
- Test SSH connection.
- Configure SCM Integration instance.
- URL Example - git@bitbucket.org:flexagonteam/libraries.git
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.