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

ssh-keygen is very slow #41

Closed
Jon-Schneider opened this issue Nov 11, 2018 · 5 comments
Closed

ssh-keygen is very slow #41

Jon-Schneider opened this issue Nov 11, 2018 · 5 comments

Comments

@Jon-Schneider
Copy link

Ssh-keygen hangs on "Generating public/private rsa key pair".

@tristan-k
Copy link

I just did the same without any issues.

@Jon-Schneider
Copy link
Author

I decided to wait for a while and see what happened. 2048 keys take 2-3 minutes, and 4096 bit keys take 5-6 minutes (vs. instantaneous on Mac). So it does eventually work but the amount of time it takes might be a side effect of the emulation.

@tbodt
Copy link
Member

tbodt commented Nov 15, 2018

Yeah, things tend to be pretty slow. Fixing that isn't as high priority as making things work at all, of course.

@tbodt tbodt changed the title ssh-keygen ssh-keygen is very slow Nov 15, 2018
@tbodt
Copy link
Member

tbodt commented Nov 28, 2018

Closing as duplicate of #129.

@tbodt tbodt closed this as completed Nov 28, 2018
@0cyn
Copy link

0cyn commented Dec 10, 2020

This issue can be negated by using ssh-keygen -b 1024 which takes about 1.5s to run.

Note this weakens security slightly, although the risk here is very debatable.

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

No branches or pull requests

4 participants