# Clone project from CERN gitlab

**URL:** <https://swan-community.web.cern.ch/t/clone-project-from-cern-gitlab/270>\
**Category:** General chat\
**Created:** [June 18, 2020, 6:24am UTC](https://swan-community.web.cern.ch/t/clone-project-from-cern-gitlab/270 "2020-06-18T06:24:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blenzi](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/b/b3f665/32.png) [@blenzi](https://swan-community.web.cern.ch/u/blenzi)\
**Post date:** [June 18, 2020, 6:24am UTC](https://swan-community.web.cern.ch/t/clone-project-from-cern-gitlab/270/1 "2020-06-18T06:24:10Z")

</div>

Hello,

When trying to clone a project from CERN gitlab (protected to CMS users) as a new SWAN project, using the https link I get “Did you pass the username/token?”. The other methods (SSH and KRB) are not valid URLs for SWAN. Is there a way around?

Also, is it possible to get the button “Open in SWAN” directly in the gitlab project?

Thanks,  
Bruno

---

<div class="post-metadata">

**Author:** ![ozapatam](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/o/a183cd/32.png) [@ozapatam](https://swan-community.web.cern.ch/u/ozapatam)\
**Post date:** [June 18, 2020, 2:49pm UTC](https://swan-community.web.cern.ch/t/clone-project-from-cern-gitlab/270/2 "2020-06-18T14:49:35Z")

</div>

Hello Bruno,

May you can try opening a terminal in SWAN and you can do git clone ssh:… or https://:…  
in your project folder.  
Let’s try and let me know if this works

Cheers  
Omar.

---

<div class="post-metadata">

**Author:** ![blenzi](https://swan-community.web.cern.ch/letter_avatar_proxy/v4/letter/b/b3f665/32.png) [@blenzi](https://swan-community.web.cern.ch/u/blenzi)\
**Post date:** [June 18, 2020, 3:45pm UTC](https://swan-community.web.cern.ch/t/clone-project-from-cern-gitlab/270/3 "2020-06-18T15:45:42Z")

</div>

Hi Omar,

Thanks for the reply. That works in HTTPS mode if I provide the password or in SSH mode if I set previously an RSA key in the eos home. I was hoping this could be done automatically in the SWAN interface.

Thanks again,  
Bruno
