Please follow the below steps to connect with the Bitbucket repository on Linux in the correct way
Step 1: From the Katalon Studio tool, open the Preferences dialog by clicking Windows -> Katalon Studio Preferences. From Preferences pop up, please reach to General -> Network Connection -> SSH2. Next, select the Key Management sub-tab and click the Generate DSA Key... button as follows
Step 2: After generating DSA Key, please click on the Save Private Key… button and save this key to the .ssh folder
Step 3: Copy the generated key at Step 1, then add it to the SSH Key page in Bitbucket as below
Now, you finished the settings between Katalon Studio and Bitbucket.
Next, you can clone the Bitbucket repo as below:
However, it's still fine if you clone with HTTPS. In this case, you need to specify a username and password. To have a password, you can add one at the page https://bitbucket.org/account/settings/app-passwords/new . However, remember to set Full Access to the created password.