Join us on June 3rd to explore Customer Predictive Analytics Learn more

Version control: Permission denied error

Level 3
Version control: Permission denied error

Hi.
I tried to use Version 7 new features "Version Control" but I faced in below error.
I want to access my repository on github.
I have checked git access from local to github.com was no problem. I can pull from exist repository to local using client terminal.

Could you please guide me how to resolve this issue?

========

[Error message]

An error happened while adding a remote

An error happened while adding the following remote: origin (git@github.com:xxxxx/test_dataiku_git.git), and then fetching it, caused by: IOException: Process failure, caused by: IOException: Process execution failed (return code 1) (error=Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. error: Could not fetch origin )

========
[Environment]
Server: AWS EC2

OS: Amazon Linux
Dataiku Version: 7.0.1
git version: version 2.14.5

Best regards.
Thank you.

3 Replies
Level 1

have you followed the steps described here? https://doc.dataiku.com/dss/latest/collaboration/git.html

the way you add a "remote in DSS" depends on if you use HTTPS or SSH interaction mode (https://doc.dataiku.com/dss/latest/collaboration/git.html#working-with-remotes).

GL.

pcauich
Dataiker
Dataiker

Hi,

You are likely facing the following known issue:

https://doc.dataiku.com/dss/latest/collaboration/git.html#unknown-host-key-issues

Please try to ssh to git@github.com from the server where DSS is installed using the DSS linux user and then try again. It's important to note that interaction with the remote repositories is always performed by the DSS linux account (e.g. the linux user that installed DSS and is running the corresponding services on the server). Therefore, you should also make sure that the SSH key that you generated corresponds to this DSS linux user. 

More information about configuring git remotes in DSS is covered in our documentation here:

https://doc.dataiku.com/dss/latest/collaboration/git.html#working-with-remotes

Let me know if this helps!

Warm Regards,

Andrew

Level 3
Author

Hi, @ATsao@pcauich 
Thank you for your help.

I tried to attempt your guidance for connecting Github (remote repository) from DSS running server then I could successfully connect to target Github repository.

Thank you for your support!

Best regards.
Thank you.