Hi Community members,
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:
-
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:
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 or a heart and share it with your colleagues and teammates. Your support for KShare is greatly appreciated!