Issues connecting Git to private Gitlab

manuelberbig
Level 2
Issues connecting Git to private Gitlab

Hello, I have issues connecting GIT with dataiku. I want to pull and push from a private Gitlab repository. I created and added a ssh key of the dataiku user machine to my gitlab account. I can access the repository from the dataiku user machine. When I try to add it to the library like Import_Git_1.png I get the following error message (in Import_Git_2.png).

Thanks for your help!

Kind Regards

Manuel


Operating system used: Linux

0 Kudos
3 Replies
CatalinaS
Dataiker

Hi @manuelberbig 

Can you give more details about how did you access the repository from the DSS machine?

Can you please confirm if the private key is installed correctly on DSS machine?

Have you added your Git host to the SSH known_hosts file? This can by done by running the following command as dssuser:

ssh-keyscan githost  >> ~/.ssh/known_hosts

 

0 Kudos
manuelberbig
Level 2
Author

Hello CatalinaS,

thanks for the answer. I added my Git host to the SSH known_hosts file. I also can clone a repository on the DSS User Machine. The private GIT key is also installed correctly.

 

0 Kudos
CatalinaS
Dataiker

Can you please confirm if by DSS User Machine you are referring to DSS server?

Have you cloned the repository while logged as the dssuser? Can you please share a screenshot of the successful git clone on the DSS server?

0 Kudos