-
Notifications
You must be signed in to change notification settings - Fork 401
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
error loading known_hosts: ; class=Ssh (23) when trying to connect to remote. #937
Comments
libgit2 only reads known_hosts from Which version of libgit2-sys are you using? Are you using vendored or system libgit2? |
The Syntax of my file known_hosts should be correct. I tried to recreate it multiple times. But I think fetching the $HOME env variable on windows is an issue or am I wrong? |
Ah, yea, I recall now that was a problem with the current version. This should be fixed by #935 which reads windows home directories correctly. |
I am getting the same error on Android. It used to work until recently. Does anyone know a fix? Or a solution? My app is not working anymore. |
I dont know whether the fix is released yet. For Windows I haven't tested it myself yet, so idk if it's working. |
As edited: I had a build error, but I think I have fixed it. I think that this was because the But I am still getting the error with |
Edit: I think my error is different, and needs Android expertise, so I am raising a separate issue on the libgit2 tracker. The new issue is libgit2/libgit2#6550. |
I'm going to close since this should be fixed in the latest version via #935. If you can still reproduce with 0.17.1, feel free to comment, and please include as much detail as possible to reproduce your environment. |
Hey,
I stumble accross an error "error loading known_hosts: ; class=Ssh (23)" when I try to connect to a remote host on our company azure repo.
The git cmd tool works fine of course. So the general SSH configuration should be fine. Seems like the the configuration isn't read out correctly. Do I have to set a config of the repo or something before I connect to the remote?
I wrote a simple test tool for what Im doing:
The text was updated successfully, but these errors were encountered: