Configuring GitBlit using SSH authentication - 7.3

Talend Installation Guide

Version
7.3
Language
English
Operating system
Linux
Subscription type
Subscription
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend LogServer
Talend MDM Server
Talend MDM Web UI
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
Installation and Upgrade
Last publication date
2022-10-30
This article describes how to configure Gitblit with Talend Administration Center using SSH authentication.

This was tested on the following architecture:

  • Talend Administration Center installed on Windows
  • Git installed on a Linux box

Prerequisite: You have installed and configured Git as explained in Talend Installation Guide .

  1. Use the following command to add the public key in the authorized_keys file located in your .ssh folder:

    cat id_rsa.pub >> authorized_keys
  2. Set the permission using the following command:

    chmod 600 id_rsa.pub
  3. Download Gitblit from http://gitblit.com.
  4. Install Tomcat and deploy the Gitblit war file.
  5. Use the following command to add the git server as known_hosts:

    ssh -l <git_username> -p 29418 <git_server>.

    Run the same command on the server hosting Talend Administration Center as well to create the known_hosts file.

  6. Open Gitblit with the following address: https://servernName:port/<war_file_name>
  7. Use the default username and password (admin/admin) to log in:
  8. Click the arrow at the left corner and select my profile to set up the SSH key for your user.
  9. Paste the content of the public key into the key field and save it:
  10. Add the connection information to Talend Administration Center: go to > Settings > Configuration > Git and enter the SSH URL in the Git server url field.
    In this configuration, Username and Password fields may remain empty. For more information, follow Setting up Git parameters.