LC Hotline: 2-4531

From offsite: (925) 422-4531

 

Hours

Monday–Friday
8am–12pm, 1–4:45pm
B453 R1103 | Q-clearance area

 

Technical Bulletin #516: SSH required for EN Bitbucket Access

Effective February 23, access to the Enterprise (EN) Bitbucket server (https://mystash.llnl.gov) 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>@mystash.llnl.gov/scm/
to
ssh://git@mystash.llnl.gov: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@mystash.llnl.gov/scm/cosmos/python-lora.git (fetch)
origin https://lee1001@mystash.llnl.gov/scm/cosmos/python-lora.git (push)
 
$ git remote set-url origin ssh://git@mystash.llnl.gov:7999/cosmos/python-lora.git
 
$ git remote -v
origin ssh://git@mystash.llnl.gov:7999/cosmos/python-lora.git (fetch)
origin ssh://git@mystash.llnl.gov: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.