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

windows generate process fail #10

Open
frankLife opened this issue Oct 12, 2017 · 5 comments
Open

windows generate process fail #10

frankLife opened this issue Oct 12, 2017 · 5 comments

Comments

@frankLife
Copy link

ssh-keygen is a good tool to make a ssh key easily. But when I use it on window 7 system. It would fail. the callback will not return error object at the same time.

I look up the source code and find the bin which the program use . I click it directly. It throw a error like this

ssh-keygen-error

and I change the bin with portable msysgit bin portalble link using the files like

ssh-keygen-bin

It work again.

I hope the problem can be solved to make the project better

@ericvicenti
Copy link
Owner

If anybody wants to debug this and submit a pull request to fix it, I would appreciate it!

@jakkaj
Copy link

jakkaj commented Mar 26, 2018

Hey - I've picked this one up. I have it working on 64bit machine with ssh-keygen from the latest portable Git for Windows. Just gigging out a 32-bit vm to test the other!

Will PR soon.

@mazensharkawy
Copy link

SOLVED !!!
After a bit of debugging. There is an exe file in the bin directory of this library. When you try to open any of them manually you get an error saying that there are missing dll files related to MSYS. It took me all day to install MSYS properly. so here are the links to solve this problem as there are a lot of sources out there that didn't solve the problem.

  1. https://www.youtube.com/watch?v=ySE4HN4jcVw (follow the instructions in this tutorial)
  2. if you have a missing dll still ... download this dll helper and it will fix it for you https://www.az-partners.net/apps/dll-helper/download?ap=25
    Bottom line is the problem is with the MYSYS and MINGW on your pc and not with this library

@jakkaj
Copy link

jakkaj commented Jul 3, 2018

Hey - I popped a PR in for this a while ago; #13. If you pull that branch it should work...

@jeremyfix
Copy link

I faced this exact same issue indeed due to missing msys dlls .

Actually I have also seen that on some windows machine (do not know if this is the case for all of them now), ssh-keygen can be executed from the windows terminal directly. But I do not know how far this is true;

So I will probably try to use the PR #13 .

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

No branches or pull requests

5 participants