GitHub user khalibartan added a comment to the discussion: Gitextractor not 
using ssh key for ssh url and instead using github key

Please note i have also tried configuration where i have given the base64 
encoded key in private key part, that failed as well. With following error

```
subtask Clone Git Repo ended unexpectedly Wraps: (2) git cmd [git clone 
ssh://git@<my_github_tokens>@github.com/<my-org>/carousel.git 
/tmp/gitextractor2486793920 --depth=1 --bare] in failed: Cloning into bare 
repository '/tmp/gitextractor2486793920'... | Warning: Identity file 
/tmp/gitext-pk3105934292 not accessible: No such file or directory. | Warning: 
Permanently added 'github.com' (ED25519) to the list of known hosts. | 
git@<my_github_tokens>@github.com: Permission denied (publickey). | fatal: 
Could not read from remote repository. | | Please make sure you have the 
correct access rights | and the repository exists. Error types: (1) 
*hintdetail.withDetail (2) *errors.errorString
```

GitHub link: 
https://github.com/apache/incubator-devlake/discussions/8412#discussioncomment-12977060

----
This is an automatically sent email for dev@devlake.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@devlake.apache.org

Reply via email to