Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
davidPnt
Contributor III
Contributor III

[Bitbucket] SSH connection to GIT repository

My GIT repository is hosted by Bitbucket.

From my Studio, I have to use a SSH connection to reach to Bitbucket.

I've used the Studio tool (Network Connections > SSH2 > Key Management > Generate RSA Key) to generate a SSH key pair.

Studio generate a 1024 length key ; unfortunately Bitbucket allow only key equal or higher than 2048.

How can I generate a 2048 key from Studio ?

How can I connect to Bitbucket ?

Studio version : 7.3.1 (Talend Cloud API Services)

Labels (2)
1 Solution

Accepted Solutions
davidPnt
Contributor III
Contributor III
Author

I've finally use a workaround : I'm now using a DSA Key

View solution in original post

5 Replies
Anonymous
Not applicable

Hello,

Here is some content in summer-18-release-notes about [TMC] Git SSH in Cloud

https://help.talend.com/r/en-US/Cloud/release-notes/summer-18-release-notes

And let us know if this procedure helps(It would be OK with V 8.0)

Procedure

  1. Download the Git version corresponding to your system at https://git-scm.com/downloads and follow the installation instructions.
  2. Create an SSH key pair in Talend Studio instead of using a Git tool, to ensure the key is compatible with Talend Studio.
  • Click Window > Preferences from the menu bar to open the Preferences dialog box.
  • In the tree view of the dialog box, expand General > Network Connections and select SSH2 to open the corresponding view.
  • On the Key Management tab, click Generate RSA Key... to create an SSH key pair.
  • Click Save Private Key... to save the generated private key in the C:\Users\UserName\.ssh folder.
  • Note down the generated public key in the public key field.
  • Click Apply and Close to close the Preferences dialog box.

3. Add the public key to the settings of your Git server.

4. Open the Git Bash.

5. Create a known-hosts file by executing the following command:ssh-keyscan.exe -H

git_server_hostname >> known_hosts

6 . If you are using multiple SSH private keys, create a config file in your .ssh folder and add the following content in the file to specify which key file is used for which Git server.Host <git_server1_hostname>

IdentityFile C:/users/username/.ssh/key1

Host <git_server2_hostname>

IdentityFile C:/users/username/.ssh/key2

7. When creating a project in Talend Cloud Management Console, provide the connection information.

Best regards

Sabrina

davidPnt
Contributor III
Contributor III
Author

Do you tell about this content ? (cf. screenshot below)

There is no information about a procedure, just a note that a bug has been corrected.

The Jira link displayed is down.

0695b00000PKb9KAAT.png

Anonymous
Not applicable

Hello,

So far, there is no official released documentation about the procedure.

Here exists a DOCT jira issue: https://jira.talendforge.org/browse/DOCT-13819

Is the above procedure OK with you?

Best regards

Sabrina

 

 

davidPnt
Contributor III
Contributor III
Author

I've finally use a workaround : I'm now using a DSA Key

Anonymous
Not applicable

Hello,

Great you got a workaround and thanks for your information.

Best regards

Sabrina