[KShare] Cloning GitLab Projects using SSH Keys in Katalon Studio

Hi Community members, :wave:

Have you ever encountered issues when trying to clone a GitLab repository via HTTPS?

In such cases, Utilizing SSH keys can facilitate a successful cloning process in Katalon Studio.

You can follow the instructions provided below to resolve this issue: :point_down:

  • Open Katalon Studio:

    • For MacOS: Go to Katalon Studio > Preferences > Katalon
    • For Windows: Go to Window > Katalon Studio Preferences > Katalon
  • Type SSH in the search box β†’ SSH2 β†’ Key Management tab:

  • Click on Generate RSA Key

  • Then, click on Save Private Key β†’ OK β†’ Rename the key as you wish
  • And then Save and Apply:

  • Now, in your laptop: Go to /Users//.ssh (This is a hidden folder)
  • Open the <filename> .pub inside this folder and then copy the data in it:

  • Go to your Gitlab β†’ Click on the User icon β†’ Preferences β†’ SSH keys:
  • Add New Key -> Paste the copied data of .pub into Key Data block
  • And click on Add key

  • Now, go to your GitLab repository and click Clone your project then copy the URL in the SSH tab:

  • For the last step, Open Katalon Studio β†’ Click on the Git icon β†’ Clone Project
  • Paste copied command line into the Repository URL and the GitLab credentials β†’ Next β†’ Select branch β†’ Save Directory in the desired location:


:information_source: For more information, please refer to our documentation at: Git integration authentication with SSH keys in Katalon Studio | Katalon Docs


If you find this article helpful, then don’t forget to leave a like :+1: or a heart :heart: and share it with your colleagues and teammates. Your support for KShare is greatly appreciated!

4 Likes

Thank you very much to the Product Support team (@support.squad) and Caryln (@thi.thai) for yet another informative article.

Caryln profile pic
Caryln (@thi.thai) - Product Support Specialist at Katalon
Caryln enjoys offering supporting and assisting our clients with technical issues and questions, as well as sharing her knowledge and experiences with the wider Katalon Community. She is always available to assist users if they have questions or concerns with Katalon products, and she strives to make sure our users have a positive testing experience.
1 Like

Thank you for the nice share!!

1 Like