-
Notifications
You must be signed in to change notification settings - Fork 148
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
connecting to ssh-agent failed under windows openssh installation. #125
Comments
Looking at the code in libssh2, it looks like it prefers to use the putty pageant, and then falls back to using the contents of I would suggest opening an issue at https://github.com/libssh2/libssh2/issues/new/choose to see what the libssh2 folks think about making this work in libssh2, and then we can follow up from there. |
Yes. Maybe only the ssh.exe come with ssh-agent.exe can understand this specialized ssh-agent service. |
(closing since this is something that needs to be addressed in the underlying libssh2 library) |
I am attempting to add support for ssh-agent.exe in libssh2/libssh2#517, but the maintainers of libssh2 would like someone with Windows experience to take a look at the code before merging it. I don't know if any of the maintainers of ssh2-rs would be able to comment on that PR, but it would be appreciated. |
make sure ssh-agent is running:
make sure ssh-add is working.
I ran the code bellow it always return error: 'Error { code: -42, msg: "failed connecting agent" }', maybe is an issue of libssh2.
The text was updated successfully, but these errors were encountered: