NOTE This bulletin has been superseded by Technical Bulletin 544 

Effective February 23, access to the Enterprise (EN) Bitbucket server (https://mybitbucket.llnl.gov/dashboard) from the Collaborative Zone (CZ) will only be allowed via SSH git connections, and not via HTTPS. Going forward, in order to use the Enterprise Bitbucket, users will need to Enable SSH Access in their user profile in the Enterprise Bitbucket. Note, users are advised to secure your SSH private key with a passphrase to prevent unauthorized access to your repositories.

If you are already utilizing the “HTTPS” protocol for git communications from the CZ to the EN Bitbucket, you need only change the prefix of the URL from:

https://<OUN>@mybitbucket.llnl.gov/scm/“
to
“ssh://git@mybitbucket:7999/

The following example demonstrates how to do this from the command line, followed by testing that it works with a “git pull":

$ git remote -v
origin https://lee1001@mybitbucket.llnl.gov/scm/cosmos/python-lora.git (fetch)
origin https://lee1001@mybitbucket.llnl.gov/scm/cosmos/python-lora.git (push)
 
$ git remote set-url origin ssh://git@mybitbucket.llnl.gov:7999/cosmos/python-lora.git
 
$ git remote -v
origin ssh://git@mybitbucket:7999/cosmos/python-lora.git (fetch)
origin ssh://git@mybitbucket:7999/cosmos/python-lora.git (push)
 
$ git pull
Already up-to-date.

If you have any questions or concerns, please contact the LC Hotline <lc-hotline@llnl.gov> or the LC Atlassian Admins <lc-atlassian-admin@llnl.gov>.

PDF of TB516 for download and distribution.