# Configuring Gitblit using SSH authentication

This article describes how to configure Gitblit with Talend Administration Center using SSH authentication.

## Before you begin

You have installed and configured Git as explained in the Talend installation guide.

## About this task

This was tested on the following architecture:

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

## Procedure

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

   cat id\_rsa.pub &gt;&gt; authorized\_keys
2. Set the permission using the following command:

   chmod 600 id\_rsa.pub
3. Download Gitblit from [http://gitblit.com](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 &lt;git\_username&gt; -p 29418 &lt;git\_server&gt;.

   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/&lt;war\_file\_name&gt;.
7. Use the default username and password (admin/admin) to log in:

   ![](https://help.qlik.com/talend/en-US/installation-guide-windows/Resources/images/gitblit-welcome.png)
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:

   ![](https://help.qlik.com/talend/en-US/installation-guide-windows/Resources/images/gitblit-ssh.png)
10. Add the connection information to Talend Administration Center: go to &gt; Settings &gt; Configuration &gt; Git and enter the SSH URL in the Git server url field.

    ![](https://help.qlik.com/talend/en-US/installation-guide-windows/Resources/images/AWS-SSH-GitServerURL.png)

    In this configuration, Username and Password fields may remain empty. For more information, follow the procedure described in [Setting up Git parameters](https://help.qlik.com/talend/en-US/administration-center-user-guide/8.0/setting-up-git-parameters).