-
-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Description
Julia Version 1.6.0
Commit f9720dc2eb* (2021-03-24 12:55 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.1.0 (ORCJIT, skylake)
Whenever I attempt to dev a package, including from a blank ~/.ssh/known_hosts file, I get this error:
(@v1.6) pkg> dev Revise
Cloning git-repo `https://github.com/timholy/Revise.jl.git`
SSH host verification: the identity of the server `github.com` does not match its known hosts record. Someone could be trying to man-in-the-middle your connection. It is also possible that the server has changed its key, in which case you should check with the server administrator and if they confirm that the key has been changed, update your known hosts file.
ERROR: failed to clone from https://github.com/timholy/Revise.jl.git, error: GitError(Code:ERROR, Class:Net, user cancelled hostkey check)
I get the same message if I run ssh-keyscan github.com >> ~/.ssh/known_hosts beforehand, so that the github record is in the file. I've also verified that the record in the file is the right one (matches that published by github, so no MITM going on here).
If I had to guess what the problem is, I think it's probably because I have set up gpg-agent to do SSH, following this guide here. It's caused some problems here and there before.
Any ideas why things might not be working out between Pkg, known_hosts and gpg-agent-doing-SSH?
Metadata
Metadata
Assignees
Labels
No labels