-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feat(agent): support Windows OpenSSH #1868
Conversation
Will this ever be merged? |
I don't know, I've just been bitten by that again. |
Thanks! Seems ok at a very brief glance, but it at least needs a changelog entry and ideally some basic testing, if plausible (I acknowledge that testing this kind of lower level OS stuff can get tricky, but maybe see what can be easily mocked?) Can you also speak to #1837 (which looks like this was based on)? I'm also curious if you've been able to test this on a system that supports both the newer native SSH and WinPageant? I'm thinking of users who might be using the latter for a long time (but are on a modern enough Windows that the new SSH is around) and might end up bitten by a sudden switch in behavior. |
Yes, this commit is just a slight improvement over #1837 in that it doesn't use the windows specific api. I can easily test this with both openssh and Pageant; I can try to come up with a simple test case, but I have no idea how to do mock testing in that regard? wrt. changelog, can you let me know where I can put a suitable line? |
61deea4
to
cddd7fe
Compare
…miko#1509) Since quite a while there exists a native openssh port for windows. If the Putty pageant is not present, try to use the native port's agent instead.
cddd7fe
to
740c85c
Compare
@bitprophet I fixed the lint issues, and added a versionchanged line. |
Thank you! and if that is the errors I've hit, it's some ephemeral problem on CircleCI that can, sadly, be ignored. I'll look into it. |
This'll go out in 2.10, hopefully today 🤞🏻 |
Addresses #1509