Use Git to store all your project data, such as Jobs, database connections,
Routines, Joblets, data models, processes, and stored procedures, in the shared Repository
of Talend Studio.
Procedure
-
Download the Git version corresponding to your system from the Git SCM website and follow the installation instructions.
-
Create an SSH key pair.
-
Open the Git Bash.
-
Generate a new key by using the following command, where
email is the email address of the Git server account:
ssh-keygen -t ecdsa -b 256 -m PEM -C "email"
Information noteImportant: When using Microsoft Azure DevOps, you must generate the
key using rsa instead of ecdsa.
-
When you are prompted to enter a file in which to save the key, press Enter
to accept the default file location, or type a name and press Enter.
-
When you are prompted to enter a passphrase, press Enter to leave it
empty.
-
Put the generated key file in the
C:\Users\User_Name\.ssh folder.
-
Add the public key to the settings of your Git server.
-
Create a known-hosts file by executing the following command:
ssh-keyscan.exe -H git_server_hostname >>
known_hosts
-
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.
Information noteWarning: This config file takes precedence
over the Eclipse configuration.
Host <git_server1_hostname>
IdentityFile C:/users/username/.ssh/key1
Host <git_server2_hostname>
IdentityFile C:/users/username/.ssh/key2
-
Add the connection information to the Talend Administration Center
configuration. For more information, see Setting up Git parameters.
Information noteTip:
When running Talend Administration Center as a service, ensure that the known_hosts file is
located in the right folder. If not, copy the known_hosts
file into the
user.home\.ssh folder (or create a
.ssh folder if it does not already exist).
When running Talend Administration Center as a Windows service, user.home is
similar to: C:\Windows\System32\config\systemprofile.