Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibGit2 Clone Fails: "Unable to exchange encryption keys" #3044

Open
jmulcahy opened this issue Mar 28, 2022 · 3 comments
Open

LibGit2 Clone Fails: "Unable to exchange encryption keys" #3044

jmulcahy opened this issue Mar 28, 2022 · 3 comments

Comments

@jmulcahy
Copy link

Cloning git repos from a private Gitlab instance via Pkg is failing for me on Julia 1.6 and 1.7. The current Julia 1.8 beta works for some reason. Setting JULIA_PKG_USE_CLI_GIT=true with Julia 1.7 also works. I'm using an RSA SSH key.

The error returned is GitError(Code:ERROR, Class:SSH, failed to start SSH session: Unable to exchange encryption keys).

I have no doubt this is due to my peculiar and specific Gitlab set up, but I don't know how to debug this. Any ideas?

@barucden
Copy link
Contributor

#3030 is this related?

@jmulcahy
Copy link
Author

I don't think so. It worked on Julia 1.8 on a machine that only had an RSA key, but not 1.6 and 1.7 with that same key. Maybe it works in 1.8 due to some other upgrade that has happened in the SSH stack?

@judober
Copy link

judober commented Feb 18, 2024

I have the same Problem since 1.10. Setting JULIA_PKG_USE_CLI_GIT helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants